home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / XCMDS&XFCNS / JFIF Utilities / ImageBrowser next >
MacBinary  |  1994-03-25  |  85.3 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sat Nov 16 06:22:28 1991, modified Fri Mar 25 09:20:18 1994, creator HyperCard, type HyperCard stack, 30624 bytes "ImageBrowser" , at 0x7820 56322 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 49 6d 61 67 65 42 | 72 6f 77 73 65 72 00 00 |..ImageB|rowser..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 77 a0 00 | 00 dc 02 a5 4a af f4 a9 |.....w..|....J...|
|00000060| b8 a3 a2 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a7 63 00 00 |........|.....c..|
|00000080| 00 00 36 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..6.STAK|........|
|00000090| 00 00 00 0a 00 00 77 a0 | 00 00 36 00 00 00 00 00 |......w.|..6.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 7c 00 00 00 01 |........|...|....|
|000000b0| 00 00 0b 76 00 00 0f 50 | 00 00 00 00 00 00 00 00 |...v...P|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 01 |........|........|
|000000f0| db f6 33 36 00 00 00 00 | 00 fb 00 70 02 51 02 70 |..36....|...p.Q.p|
|00000100| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 67 00 00 0c 44 | 01 56 02 00 00 00 00 00 |...g...D|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 66 75 6e 63 74 69 6f 6e | 20 45 78 74 72 61 63 74 |function| Extract|
|00000690| 46 69 6c 65 4e 61 6d 65 | 20 46 69 6c 65 4e 61 6d |FileName| FileNam|
|000006a0| 65 0d 70 75 74 20 22 3a | 22 20 69 6e 74 6f 20 44 |e.put ":|" into D|
|000006b0| 6c 69 6d 0d 69 66 20 44 | 6c 69 6d 20 69 73 20 69 |lim.if D|lim is i|
|000006c0| 6e 20 46 69 6c 65 4e 61 | 6d 65 20 74 68 65 6e 0d |n FileNa|me then.|
|000006d0| 72 65 70 65 61 74 20 77 | 69 74 68 20 43 68 61 72 |repeat w|ith Char|
|000006e0| 50 6f 73 20 3d 20 6c 65 | 6e 67 74 68 28 46 69 6c |Pos = le|ngth(Fil|
|000006f0| 65 4e 61 6d 65 29 20 64 | 6f 77 6e 20 74 6f 20 31 |eName) d|own to 1|
|00000700| 0d 69 66 20 63 68 61 72 | 20 43 68 61 72 50 6f 73 |.if char| CharPos|
|00000710| 20 6f 66 20 46 69 6c 65 | 4e 61 6d 65 20 3d 20 44 | of File|Name = D|
|00000720| 6c 69 6d 0d 74 68 65 6e | 20 72 65 74 75 72 6e 20 |lim.then| return |
|00000730| 63 68 61 72 20 43 68 61 | 72 50 6f 73 2b 31 20 74 |char Cha|rPos+1 t|
|00000740| 6f 20 6c 65 6e 67 74 68 | 28 46 69 6c 65 4e 61 6d |o length|(FileNam|
|00000750| 65 29 20 6f 66 20 46 69 | 6c 65 4e 61 6d 65 0d 65 |e) of Fi|leName.e|
|00000760| 6e 64 20 72 65 70 65 61 | 74 0d 72 65 74 75 72 6e |nd repea|t.return|
|00000770| 20 65 6d 70 74 79 0d 65 | 6c 73 65 0d 72 65 74 75 | empty.e|lse.retu|
|00000780| 72 6e 20 46 69 6c 65 4e | 61 6d 65 0d 65 6e 64 20 |rn FileN|ame.end |
|00000790| 69 66 0d 65 6e 64 20 45 | 78 74 72 61 63 74 46 69 |if.end E|xtractFi|
|000007a0| 6c 65 4e 61 6d 65 0d 0d | 66 75 6e 63 74 69 6f 6e |leName..|function|
|000007b0| 20 45 78 74 72 61 63 74 | 50 61 74 68 4e 61 6d 65 | Extract|PathName|
|000007c0| 20 46 69 6c 65 4e 61 6d | 65 0d 70 75 74 20 22 3a | FileNam|e.put ":|
|000007d0| 22 20 69 6e 74 6f 20 44 | 65 6c 69 6d 69 74 65 72 |" into D|elimiter|
|000007e0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 43 68 61 |.repeat |with Cha|
|000007f0| 72 50 6f 73 20 3d 20 6c | 65 6e 67 74 68 28 46 69 |rPos = l|ength(Fi|
|00000800| 6c 65 4e 61 6d 65 29 20 | 64 6f 77 6e 20 74 6f 20 |leName) |down to |
|00000810| 31 0d 69 66 20 63 68 61 | 72 20 43 68 61 72 50 6f |1.if cha|r CharPo|
|00000820| 73 20 6f 66 20 46 69 6c | 65 4e 61 6d 65 20 3d 20 |s of Fil|eName = |
|00000830| 44 65 6c 69 6d 69 74 65 | 72 0d 74 68 65 6e 20 72 |Delimite|r.then r|
|00000840| 65 74 75 72 6e 20 63 68 | 61 72 20 31 20 74 6f 20 |eturn ch|ar 1 to |
|00000850| 43 68 61 72 50 6f 73 20 | 6f 66 20 46 69 6c 65 4e |CharPos |of FileN|
|00000860| 61 6d 65 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 |ame.end |repeat.r|
|00000870| 65 74 75 72 6e 20 65 6d | 70 74 79 0d 65 6e 64 20 |eturn em|pty.end |
|00000880| 45 78 74 72 61 63 74 50 | 61 74 68 4e 61 6d 65 0d |ExtractP|athName.|
|00000890| 0d 6f 6e 20 6f 70 65 6e | 43 61 72 64 0d 67 6c 6f |.on open|Card.glo|
|000008a0| 62 61 6c 20 74 68 65 46 | 69 6c 65 4e 61 6d 65 0d |bal theF|ileName.|
|000008b0| 63 6c 65 61 72 53 65 6c | 65 63 74 69 6f 6e 0d 70 |clearSel|ection.p|
|000008c0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 63 61 |ut empty| into ca|
|000008d0| 72 64 20 66 69 65 6c 64 | 20 6c 69 73 74 0d 70 75 |rd field| list.pu|
|000008e0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 63 61 72 |t empty |into car|
|000008f0| 64 20 66 69 65 6c 64 20 | 64 69 72 65 63 74 6f 72 |d field |director|
|00000900| 79 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |y.put em|pty into|
|00000910| 20 63 61 72 64 20 66 69 | 65 6c 64 20 68 6f 73 74 | card fi|eld host|
|00000920| 6e 61 6d 65 0d 73 65 6e | 64 20 6d 6f 75 73 65 75 |name.sen|d mouseu|
|00000930| 70 20 74 6f 20 63 61 72 | 64 20 62 75 74 74 6f 6e |p to car|d button|
|00000940| 20 61 70 70 6c 65 73 68 | 61 72 65 0d 65 6e 64 20 | applesh|are.end |
|00000950| 6f 70 65 6e 43 61 72 64 | 0d 0d 6f 6e 20 63 6c 6f |openCard|..on clo|
|00000960| 73 65 63 61 72 64 0d 41 | 6c 6c 43 6c 69 70 0d 63 |secard.A|llClip.c|
|00000970| 6c 65 61 72 53 65 6c 65 | 63 74 69 6f 6e 0d 70 75 |learSele|ction.pu|
|00000980| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 63 61 72 |t empty |into car|
|00000990| 64 20 66 69 65 6c 64 20 | 6c 69 73 74 0d 70 75 74 |d field |list.put|
|000009a0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 63 61 72 64 | empty i|nto card|
|000009b0| 20 66 69 65 6c 64 20 64 | 69 72 65 63 74 6f 72 79 | field d|irectory|
|000009c0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|000009d0| 63 61 72 64 20 66 69 65 | 6c 64 20 68 6f 73 74 6e |card fie|ld hostn|
|000009e0| 61 6d 65 0d 65 6e 64 20 | 63 6c 6f 73 65 63 61 72 |ame.end |closecar|
|000009f0| 64 0d 0d 6f 6e 20 63 6c | 65 61 72 53 65 6c 65 63 |d..on cl|earSelec|
|00000a00| 74 69 6f 6e 0d 67 6c 6f | 62 61 6c 20 69 73 55 55 |tion.glo|bal isUU|
|00000a10| 65 64 0d 67 6c 6f 62 61 | 6c 20 74 68 65 57 69 64 |ed.globa|l theWid|
|00000a20| 74 68 0d 67 6c 6f 62 61 | 6c 20 74 68 65 48 65 69 |th.globa|l theHei|
|00000a30| 67 68 74 0d 67 6c 6f 62 | 61 6c 20 74 68 65 43 6f |ght.glob|al theCo|
|00000a40| 6c 6f 72 0d 70 75 74 20 | 66 61 6c 73 65 20 69 6e |lor.put |false in|
|00000a50| 74 6f 20 69 73 55 55 65 | 64 0d 70 75 74 20 30 20 |to isUUe|d.put 0 |
|00000a60| 69 6e 74 6f 20 74 68 65 | 57 69 64 74 68 0d 70 75 |into the|Width.pu|
|00000a70| 74 20 30 20 69 6e 74 6f | 20 74 68 65 48 65 69 67 |t 0 into| theHeig|
|00000a80| 68 74 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 74 68 |ht.put 0| into th|
|00000a90| 65 43 6f 6c 6f 72 0d 70 | 75 74 20 65 6d 70 74 79 |eColor.p|ut empty|
|00000aa0| 20 69 6e 74 6f 20 74 68 | 65 46 69 6c 65 4e 61 6d | into th|eFileNam|
|00000ab0| 65 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e.put em|pty into|
|00000ac0| 20 63 61 72 64 20 66 69 | 65 6c 64 20 6e 61 6d 65 | card fi|eld name|
|00000ad0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00000ae0| 63 61 72 64 20 66 69 65 | 6c 64 20 73 74 61 74 73 |card fie|ld stats|
|00000af0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00000b00| 63 61 72 64 20 66 69 65 | 6c 64 20 63 61 70 74 69 |card fie|ld capti|
|00000b10| 6f 6e 0d 65 6e 64 20 63 | 6c 65 61 72 53 65 6c 65 |on.end c|learSele|
|00000b20| 63 74 69 6f 6e 0d 0d 6f | 6e 20 6d 6f 76 65 57 69 |ction..o|n moveWi|
|00000b30| 6e 64 6f 77 0d 61 6c 6c | 63 6c 69 70 0d 65 6e 64 |ndow.all|clip.end|
|00000b40| 20 6d 6f 76 65 57 69 6e | 64 6f 77 0d 0d 6f 6e 20 | moveWin|dow..on |
|00000b50| 41 6c 6c 43 6c 69 70 0d | 51 54 50 69 63 74 20 43 |AllClip.|QTPict C|
|00000b60| 6c 69 70 54 6f 2c 22 2d | 33 32 30 30 30 2c 2d 33 |lipTo,"-|32000,-3|
|00000b70| 32 30 30 30 2c 33 32 30 | 30 30 2c 33 32 30 30 30 |2000,320|00,32000|
|00000b80| 22 0d 65 6e 64 20 41 6c | 6c 43 6c 69 70 0d 0d 0d |".end Al|lClip...|
|00000b90| 0d 66 75 6e 63 74 69 6f | 6e 20 70 72 65 76 69 65 |.functio|n previe|
|00000ba0| 77 20 66 6e 61 6d 65 0d | 67 6c 6f 62 61 6c 20 74 |w fname.|global t|
|00000bb0| 68 65 57 69 64 74 68 0d | 67 6c 6f 62 61 6c 20 74 |heWidth.|global t|
|00000bc0| 68 65 48 65 69 67 68 74 | 0d 67 6c 6f 62 61 6c 20 |heHeight|.global |
|00000bd0| 74 68 65 43 6f 6c 6f 72 | 0d 67 6c 6f 62 61 6c 20 |theColor|.global |
|00000be0| 69 73 55 55 65 64 0d 0d | 63 6c 65 61 72 53 65 6c |isUUed..|clearSel|
|00000bf0| 65 63 74 69 6f 6e 0d 69 | 66 20 66 6e 61 6d 65 20 |ection.i|f fname |
|00000c00| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00000c10| 6e 0d 67 65 74 66 69 6c | 65 74 79 70 65 20 66 6e |n.getfil|etype fn|
|00000c20| 61 6d 65 0d 70 75 74 20 | 74 68 65 20 72 65 73 75 |ame.put |the resu|
|00000c30| 6c 74 20 69 6e 74 6f 20 | 66 74 79 70 65 0d 67 65 |lt into |ftype.ge|
|00000c40| 74 20 65 78 74 72 61 63 | 74 66 69 6c 65 6e 61 6d |t extrac|tfilenam|
|00000c50| 65 28 66 6e 61 6d 65 29 | 0d 70 75 74 20 22 67 65 |e(fname)|.put "ge|
|00000c60| 74 74 69 6e 67 20 70 72 | 65 76 69 65 77 20 66 6f |tting pr|eview fo|
|00000c70| 72 22 20 26 26 20 71 75 | 6f 74 65 20 26 20 69 74 |r" && qu|ote & it|
|00000c80| 20 26 20 71 75 6f 74 65 | 20 69 6e 74 6f 20 63 61 | & quote| into ca|
|00000c90| 72 64 20 66 69 65 6c 64 | 20 73 74 61 74 75 73 0d |rd field| status.|
|00000ca0| 41 6c 6c 43 6c 69 70 0d | 51 54 50 69 63 74 20 44 |AllClip.|QTPict D|
|00000cb0| 69 66 66 43 6c 69 70 2c | 74 68 65 20 72 65 63 74 |iffClip,|the rect|
|00000cc0| 20 6f 66 20 63 61 72 64 | 20 62 74 6e 20 74 68 75 | of card| btn thu|
|00000cd0| 6d 62 6e 61 69 6c 0d 69 | 66 20 66 74 79 70 65 20 |mbnail.i|f ftype |
|00000ce0| 69 73 20 22 54 45 58 54 | 22 20 74 68 65 6e 0d 70 |is "TEXT|" then.p|
|00000cf0| 75 74 20 22 55 55 44 65 | 63 6f 64 65 22 20 69 6e |ut "UUDe|code" in|
|00000d00| 74 6f 20 66 6f 72 6d 61 | 74 0d 70 75 74 20 74 72 |to forma|t.put tr|
|00000d10| 75 65 20 69 6e 74 6f 20 | 69 73 55 55 65 64 0d 65 |ue into |isUUed.e|
|00000d20| 6c 73 65 0d 70 75 74 20 | 22 4e 6f 6e 65 22 20 69 |lse.put |"None" i|
|00000d30| 6e 74 6f 20 66 6f 72 6d | 61 74 0d 65 6e 64 20 69 |nto form|at.end i|
|00000d40| 66 0d 70 72 65 76 69 65 | 77 6a 66 69 66 20 66 6e |f.previe|wjfif fn|
|00000d50| 61 6d 65 2c 66 6f 72 6d | 61 74 2c 30 2c 30 2c 74 |ame,form|at,0,0,t|
|00000d60| 68 65 20 72 65 63 74 20 | 6f 66 20 63 61 72 64 20 |he rect |of card |
|00000d70| 62 74 6e 20 74 68 75 6d | 62 6e 61 69 6c 0d 0d 70 |btn thum|bnail..p|
|00000d80| 75 74 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 6e |ut the r|esult in|
|00000d90| 74 6f 20 6a 66 69 66 73 | 74 61 74 73 0d 69 66 20 |to jfifs|tats.if |
|00000da0| 6a 66 69 66 73 74 61 74 | 73 20 63 6f 6e 74 61 69 |jfifstat|s contai|
|00000db0| 6e 73 20 22 a4 22 20 74 | 68 65 6e 0d 70 75 74 20 |ns "." t|hen.put |
|00000dc0| 65 6d 70 74 79 20 69 6e | 74 6f 20 63 61 72 64 20 |empty in|to card |
|00000dd0| 66 69 65 6c 64 20 73 74 | 61 74 75 73 0d 72 65 74 |field st|atus.ret|
|00000de0| 75 72 6e 20 6a 66 69 66 | 73 74 61 74 73 0d 65 6c |urn jfif|stats.el|
|00000df0| 73 65 0d 70 75 74 20 77 | 6f 72 64 20 31 20 6f 66 |se.put w|ord 1 of|
|00000e00| 20 6a 66 69 66 73 74 61 | 74 73 20 69 6e 74 6f 20 | jfifsta|ts into |
|00000e10| 74 68 65 57 69 64 74 68 | 0d 70 75 74 20 77 6f 72 |theWidth|.put wor|
|00000e20| 64 20 33 20 6f 66 20 6a | 66 69 66 73 74 61 74 73 |d 3 of j|fifstats|
|00000e30| 20 69 6e 74 6f 20 74 68 | 65 48 65 69 67 68 74 0d | into th|eHeight.|
|00000e40| 70 75 74 20 6c 61 73 74 | 20 77 6f 72 64 20 6f 66 |put last| word of|
|00000e50| 20 6a 66 69 66 73 74 61 | 74 73 20 69 6e 74 6f 20 | jfifsta|ts into |
|00000e60| 74 68 65 43 6f 6c 6f 72 | 0d 70 75 74 20 6a 66 69 |theColor|.put jfi|
|00000e70| 66 73 74 61 74 73 20 69 | 6e 74 6f 20 63 61 72 64 |fstats i|nto card|
|00000e80| 20 66 69 65 6c 64 20 73 | 74 61 74 73 0d 65 6e 64 | field s|tats.end|
|00000e90| 20 69 66 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e | if.put |empty in|
|00000ea0| 74 6f 20 63 61 72 64 20 | 66 69 65 6c 64 20 73 74 |to card |field st|
|00000eb0| 61 74 75 73 0d 72 65 74 | 75 72 6e 20 65 6d 70 74 |atus.ret|urn empt|
|00000ec0| 79 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 70 72 65 |y.end if|.end pre|
|00000ed0| 76 69 65 77 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 70 |view..fu|nction p|
|00000ee0| 72 65 76 69 65 77 46 54 | 50 20 66 6e 61 6d 65 0d |reviewFT|P fname.|
|00000ef0| 67 6c 6f 62 61 6c 20 64 | 61 74 61 49 44 0d 67 6c |global d|ataID.gl|
|00000f00| 6f 62 61 6c 20 63 6f 6e | 6e 65 63 74 69 6f 6e 49 |obal con|nectionI|
|00000f10| 44 0d 67 6c 6f 62 61 6c | 20 69 73 55 55 65 64 0d |D.global| isUUed.|
|00000f20| 67 6c 6f 62 61 6c 20 74 | 68 65 57 69 64 74 68 0d |global t|heWidth.|
|00000f30| 67 6c 6f 62 61 6c 20 74 | 68 65 48 65 69 67 68 74 |global t|heHeight|
|00000f40| 0d 67 6c 6f 62 61 6c 20 | 74 68 65 43 6f 6c 6f 72 |.global |theColor|
|00000f50| 0d 0d 70 75 74 20 22 49 | 22 20 69 6e 74 6f 20 78 |..put "I|" into x|
|00000f60| 74 79 70 65 0d 63 6c 65 | 61 72 53 65 6c 65 63 74 |type.cle|arSelect|
|00000f70| 69 6f 6e 0d 6f 70 65 6e | 44 61 74 61 20 78 74 79 |ion.open|Data xty|
|00000f80| 70 65 0d 73 65 6e 64 4c | 69 6e 65 20 22 52 45 54 |pe.sendL|ine "RET|
|00000f90| 52 22 20 26 26 20 66 6e | 61 6d 65 0d 67 65 74 20 |R" && fn|ame.get |
|00000fa0| 67 65 74 4c 69 6e 65 28 | 29 0d 70 75 74 20 69 74 |getLine(|).put it|
|00000fb0| 20 69 6e 74 6f 20 74 68 | 65 52 65 73 75 6c 74 0d | into th|eResult.|
|00000fc0| 0d 69 66 20 63 68 61 72 | 20 31 20 6f 66 20 74 68 |.if char| 1 of th|
|00000fd0| 65 52 65 73 75 6c 74 20 | 69 73 20 22 31 22 20 74 |eResult |is "1" t|
|00000fe0| 68 65 6e 0d 70 75 74 20 | 77 6f 72 64 20 28 6e 75 |hen.put |word (nu|
|00000ff0| 6d 62 65 72 20 6f 66 20 | 77 6f 72 64 73 20 69 6e |mber of |words in|
|00001000| 20 74 68 65 52 65 73 75 | 6c 74 29 20 2d 20 32 20 | theResu|lt) - 2 |
|00001010| 74 6f 20 28 6e 75 6d 62 | 65 72 20 6f 66 20 77 6f |to (numb|er of wo|
|00001020| 72 64 73 20 69 6e 20 74 | 68 65 52 65 73 75 6c 74 |rds in t|heResult|
|00001030| 29 20 6f 66 20 74 68 65 | 52 65 73 75 6c 74 20 69 |) of the|Result i|
|00001040| 6e 74 6f 20 62 74 0d 0d | 69 66 20 54 43 50 53 74 |nto bt..|if TCPSt|
|00001050| 61 74 65 28 20 64 61 74 | 61 49 44 20 29 20 69 73 |ate( dat|aID ) is|
|00001060| 20 22 65 73 74 61 62 6c | 69 73 68 65 64 22 20 6f | "establ|ished" o|
|00001070| 72 20 57 61 69 74 46 6f | 72 44 61 74 61 43 6f 6e |r WaitFo|rDataCon|
|00001080| 28 29 20 74 68 65 6e 0d | 70 75 74 20 22 47 65 74 |() then.|put "Get|
|00001090| 74 69 6e 67 20 70 72 65 | 76 69 65 77 20 76 69 61 |ting pre|view via|
|000010a0| 20 46 54 50 22 20 69 6e | 74 6f 20 63 61 72 64 20 | FTP" in|to card |
|000010b0| 66 69 65 6c 64 20 73 74 | 61 74 75 73 0d 70 75 74 |field st|atus.put|
|000010c0| 20 22 46 54 50 22 20 69 | 6e 74 6f 20 66 6f 72 6d | "FTP" i|nto form|
|000010d0| 61 74 0d 41 6c 6c 43 6c | 69 70 0d 51 54 50 69 63 |at.AllCl|ip.QTPic|
|000010e0| 74 20 44 69 66 66 43 6c | 69 70 2c 74 68 65 20 72 |t DiffCl|ip,the r|
|000010f0| 65 63 74 20 6f 66 20 63 | 61 72 64 20 62 74 6e 20 |ect of c|ard btn |
|00001100| 74 68 75 6d 62 6e 61 69 | 6c 0d 73 65 74 20 63 75 |thumbnai|l.set cu|
|00001110| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 70 72 65 |rsor to |busy.pre|
|00001120| 76 69 65 77 6a 66 69 66 | 20 64 61 74 61 49 44 2c |viewjfif| dataID,|
|00001130| 66 6f 72 6d 61 74 2c 30 | 2c 63 6f 6e 6e 65 63 74 |format,0|,connect|
|00001140| 69 6f 6e 49 44 2c 74 68 | 65 20 72 65 63 74 20 6f |ionID,th|e rect o|
|00001150| 66 20 63 61 72 64 20 62 | 74 6e 20 74 68 75 6d 62 |f card b|tn thumb|
|00001160| 6e 61 69 6c 0d 70 75 74 | 20 74 68 65 20 72 65 73 |nail.put| the res|
|00001170| 75 6c 74 20 69 6e 74 6f | 20 6a 66 69 66 73 74 61 |ult into| jfifsta|
|00001180| 74 73 0d 69 66 20 6a 66 | 69 66 73 74 61 74 73 20 |ts.if jf|ifstats |
|00001190| 63 6f 6e 74 61 69 6e 73 | 20 22 a4 22 20 74 68 65 |contains| "." the|
|000011a0| 6e 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n.put em|pty into|
|000011b0| 20 63 61 72 64 20 66 69 | 65 6c 64 20 73 74 61 74 | card fi|eld stat|
|000011c0| 75 73 0d 63 6c 6f 73 65 | 44 61 74 61 0d 72 65 74 |us.close|Data.ret|
|000011d0| 75 72 6e 20 6a 66 69 66 | 73 74 61 74 73 0d 65 6c |urn jfif|stats.el|
|000011e0| 73 65 0d 69 66 20 6a 66 | 69 66 73 74 61 74 73 20 |se.if jf|ifstats |
|000011f0| 63 6f 6e 74 61 69 6e 73 | 20 22 55 55 45 6e 63 6f |contains| "UUEnco|
|00001200| 64 65 64 22 20 74 68 65 | 6e 0d 70 75 74 20 74 72 |ded" the|n.put tr|
|00001210| 75 65 20 69 6e 74 6f 20 | 69 73 55 55 65 64 0d 65 |ue into |isUUed.e|
|00001220| 6e 64 20 69 66 0d 70 75 | 74 20 77 6f 72 64 20 31 |nd if.pu|t word 1|
|00001230| 20 6f 66 20 6a 66 69 66 | 73 74 61 74 73 20 69 6e | of jfif|stats in|
|00001240| 74 6f 20 74 68 65 57 69 | 64 74 68 0d 70 75 74 20 |to theWi|dth.put |
|00001250| 77 6f 72 64 20 33 20 6f | 66 20 6a 66 69 66 73 74 |word 3 o|f jfifst|
|00001260| 61 74 73 20 69 6e 74 6f | 20 74 68 65 48 65 69 67 |ats into| theHeig|
|00001270| 68 74 0d 70 75 74 20 6c | 61 73 74 20 77 6f 72 64 |ht.put l|ast word|
|00001280| 20 6f 66 20 6a 66 69 66 | 73 74 61 74 73 20 69 6e | of jfif|stats in|
|00001290| 74 6f 20 74 68 65 43 6f | 6c 6f 72 0d 70 75 74 20 |to theCo|lor.put |
|000012a0| 6a 66 69 66 73 74 61 74 | 73 20 69 6e 74 6f 20 63 |jfifstat|s into c|
|000012b0| 61 72 64 20 66 69 65 6c | 64 20 73 74 61 74 73 0d |ard fiel|d stats.|
|000012c0| 65 6e 64 20 69 66 0d 70 | 75 74 20 65 6d 70 74 79 |end if.p|ut empty|
|000012d0| 20 69 6e 74 6f 20 63 61 | 72 64 20 66 69 65 6c 64 | into ca|rd field|
|000012e0| 20 73 74 61 74 75 73 0d | 65 6e 64 20 69 66 0d 65 | status.|end if.e|
|000012f0| 6e 64 20 69 66 0d 63 6c | 6f 73 65 44 61 74 61 0d |nd if.cl|oseData.|
|00001300| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 63 |put empt|y into c|
|00001310| 61 72 64 20 66 69 65 6c | 64 20 73 74 61 74 75 73 |ard fiel|d status|
|00001320| 0d 72 65 74 75 72 6e 20 | 65 6d 70 74 79 0d 65 6e |.return |empty.en|
|00001330| 64 20 70 72 65 76 69 65 | 77 46 54 50 0d 0d 0d 6f |d previe|wFTP...o|
|00001340| 6e 20 63 6c 6f 73 65 53 | 74 61 63 6b 0d 67 6c 6f |n closeS|tack.glo|
|00001350| 62 61 6c 20 63 6f 6e 6e | 65 63 74 69 6f 6e 49 44 |bal conn|ectionID|
|00001360| 2c 20 64 61 74 61 49 44 | 0d 0d 69 66 20 63 6f 6e |, dataID|..if con|
|00001370| 6e 65 63 74 69 6f 6e 49 | 44 20 69 73 20 6e 6f 74 |nectionI|D is not|
|00001380| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 54 43 50 52 | empty t|hen.TCPR|
|00001390| 65 6c 65 61 73 65 20 63 | 6f 6e 6e 65 63 74 69 6f |elease c|onnectio|
|000013a0| 6e 49 44 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |nID.put |empty in|
|000013b0| 74 6f 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 49 44 0d |to conne|ctionID.|
|000013c0| 65 6e 64 20 69 66 0d 0d | 69 66 20 64 61 74 61 49 |end if..|if dataI|
|000013d0| 44 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |D is not| empty t|
|000013e0| 68 65 6e 0d 54 43 50 52 | 65 6c 65 61 73 65 20 64 |hen.TCPR|elease d|
|000013f0| 61 74 61 49 44 0d 70 75 | 74 20 65 6d 70 74 79 20 |ataID.pu|t empty |
|00001400| 69 6e 74 6f 20 64 61 74 | 61 49 44 0d 65 6e 64 20 |into dat|aID.end |
|00001410| 69 66 0d 65 6e 64 20 63 | 6c 6f 73 65 53 74 61 63 |if.end c|loseStac|
|00001420| 6b 0d 0d 0d 6f 6e 20 69 | 64 6c 65 0d 67 6c 6f 62 |k...on i|dle.glob|
|00001430| 61 6c 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 49 44 2c |al conne|ctionID,|
|00001440| 20 64 61 74 61 49 44 2c | 20 73 4c 69 6e 65 2c 20 | dataID,| sLine, |
|00001450| 70 61 72 74 4c 69 6e 65 | 0d 0d 69 66 20 64 61 74 |partLine|..if dat|
|00001460| 61 49 44 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |aID is n|ot empty|
|00001470| 20 74 68 65 6e 0d 67 65 | 74 20 54 43 50 53 74 61 | then.ge|t TCPSta|
|00001480| 74 65 28 20 64 61 74 61 | 49 44 20 29 0d 69 66 20 |te( data|ID ).if |
|00001490| 69 74 20 63 6f 6e 74 61 | 69 6e 73 20 22 63 6c 6f |it conta|ins "clo|
|000014a0| 73 65 22 20 74 68 65 6e | 0d 54 43 50 52 65 6c 65 |se" then|.TCPRele|
|000014b0| 61 73 65 20 64 61 74 61 | 49 44 0d 70 75 74 20 65 |ase data|ID.put e|
|000014c0| 6d 70 74 79 20 69 6e 74 | 6f 20 64 61 74 61 49 44 |mpty int|o dataID|
|000014d0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 0d |.end if.|end if..|
|000014e0| 69 66 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 49 44 20 |if conne|ctionID |
|000014f0| 69 73 20 65 6d 70 74 79 | 0d 74 68 65 6e 20 67 65 |is empty|.then ge|
|00001500| 74 20 22 6e 6f 20 63 6f | 6e 6e 65 63 74 69 6f 6e |t "no co|nnection|
|00001510| 22 20 65 6c 73 65 20 67 | 65 74 20 54 43 50 53 74 |" else g|et TCPSt|
|00001520| 61 74 65 28 20 63 6f 6e | 6e 65 63 74 69 6f 6e 49 |ate( con|nectionI|
|00001530| 44 20 29 0d 63 68 65 63 | 6b 53 74 61 74 65 20 69 |D ).chec|kState i|
|00001540| 74 0d 69 66 20 69 74 20 | 69 73 20 6e 6f 74 20 22 |t.if it |is not "|
|00001550| 65 73 74 61 62 6c 69 73 | 68 65 64 22 20 74 68 65 |establis|hed" the|
|00001560| 6e 20 65 78 69 74 20 69 | 64 6c 65 0d 0d 72 65 70 |n exit i|dle..rep|
|00001570| 65 61 74 0d 67 65 74 20 | 54 43 50 52 65 63 76 55 |eat.get |TCPRecvU|
|00001580| 70 54 6f 28 20 63 6f 6e | 6e 65 63 74 69 6f 6e 49 |pTo( con|nectionI|
|00001590| 44 2c 20 6c 69 6e 65 66 | 65 65 64 2c 20 7a 65 72 |D, linef|eed, zer|
|000015a0| 6f 2c 20 70 61 72 74 4c | 69 6e 65 20 29 0d 69 66 |o, partL|ine ).if|
|000015b0| 20 69 74 20 3d 20 70 61 | 72 74 4c 69 6e 65 20 74 | it = pa|rtLine t|
|000015c0| 68 65 6e 20 65 78 69 74 | 20 72 65 70 65 61 74 0d |hen exit| repeat.|
|000015d0| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 74 68 65 4d |put it i|nto theM|
|000015e0| 73 67 0d 0d 70 75 74 20 | 6c 65 6e 67 74 68 28 74 |sg..put |length(t|
|000015f0| 68 65 4d 73 67 29 20 2d | 20 31 20 69 6e 74 6f 20 |heMsg) -| 1 into |
|00001600| 6c 6d 0d 70 75 74 20 63 | 68 61 72 20 31 20 74 6f |lm.put c|har 1 to|
|00001610| 20 6c 6d 20 6f 66 20 74 | 68 65 4d 73 67 20 69 6e | lm of t|heMsg in|
|00001620| 74 6f 20 63 61 72 64 20 | 66 6c 64 20 22 73 74 61 |to card |fld "sta|
|00001630| 74 75 73 22 0d 0d 69 66 | 20 63 68 61 72 20 31 20 |tus"..if| char 1 |
|00001640| 6f 66 20 74 68 65 4d 73 | 67 20 69 73 20 22 a4 22 |of theMs|g is "."|
|00001650| 20 74 68 65 6e 20 2d 2d | 20 65 72 72 6f 72 20 66 | then --| error f|
|00001660| 72 6f 6d 20 4d 61 63 54 | 43 50 20 58 43 4d 44 3f |rom MacT|CP XCMD?|
|00001670| 0d 54 43 50 52 65 6c 65 | 61 73 65 20 63 6f 6e 6e |.TCPRele|ase conn|
|00001680| 65 63 74 69 6f 6e 49 44 | 0d 70 75 74 20 65 6d 70 |ectionID|.put emp|
|00001690| 74 79 20 69 6e 74 6f 20 | 63 6f 6e 6e 65 63 74 69 |ty into |connecti|
|000016a0| 6f 6e 49 44 0d 65 78 69 | 74 20 69 64 6c 65 0d 65 |onID.exi|t idle.e|
|000016b0| 6e 64 20 69 66 0d 69 66 | 20 63 68 61 72 20 6c 65 |nd if.if| char le|
|000016c0| 6e 67 74 68 28 20 74 68 | 65 4d 73 67 20 29 20 6f |ngth( th|eMsg ) o|
|000016d0| 66 20 74 68 65 4d 73 67 | 20 69 73 20 6e 6f 74 20 |f theMsg| is not |
|000016e0| 6c 69 6e 65 66 65 65 64 | 20 74 68 65 6e 0d 70 75 |linefeed| then.pu|
|000016f0| 74 20 69 74 20 69 6e 74 | 6f 20 70 61 72 74 4c 69 |t it int|o partLi|
|00001700| 6e 65 0d 65 78 69 74 20 | 72 65 70 65 61 74 0d 65 |ne.exit |repeat.e|
|00001710| 6e 64 20 69 66 0d 70 75 | 74 20 65 6d 70 74 79 20 |nd if.pu|t empty |
|00001720| 69 6e 74 6f 20 70 61 72 | 74 4c 69 6e 65 0d 0d 67 |into par|tLine..g|
|00001730| 65 74 20 77 6f 72 64 20 | 31 20 6f 66 20 74 68 65 |et word |1 of the|
|00001740| 4d 73 67 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |Msg.put |it into |
|00001750| 74 68 65 4d 73 67 43 6f | 64 65 0d 69 66 20 74 68 |theMsgCo|de.if th|
|00001760| 65 4d 73 67 43 6f 64 65 | 20 69 73 20 32 32 30 20 |eMsgCode| is 220 |
|00001770| 74 68 65 6e 20 61 73 6b | 55 73 65 72 0d 65 6c 73 |then ask|User.els|
|00001780| 65 20 69 66 20 74 68 65 | 4d 73 67 43 6f 64 65 20 |e if the|MsgCode |
|00001790| 69 73 20 32 32 31 20 74 | 68 65 6e 20 71 75 69 74 |is 221 t|hen quit|
|000017a0| 49 74 0d 65 6c 73 65 20 | 69 66 20 74 68 65 4d 73 |It.else |if theMs|
|000017b0| 67 43 6f 64 65 20 69 73 | 20 32 32 36 20 74 68 65 |gCode is| 226 the|
|000017c0| 6e 20 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |n put em|pty into|
|000017d0| 20 63 61 72 64 20 66 69 | 65 6c 64 20 73 74 61 74 | card fi|eld stat|
|000017e0| 75 73 0d 65 6c 73 65 20 | 69 66 20 74 68 65 4d 73 |us.else |if theMs|
|000017f0| 67 43 6f 64 65 20 69 73 | 20 32 33 30 20 74 68 65 |gCode is| 230 the|
|00001800| 6e 20 67 65 74 44 69 72 | 0d 65 6c 73 65 20 69 66 |n getDir|.else if|
|00001810| 20 74 68 65 4d 73 67 43 | 6f 64 65 20 69 73 20 33 | theMsgC|ode is 3|
|00001820| 33 31 20 74 68 65 6e 20 | 61 73 6b 50 61 73 73 0d |31 then |askPass.|
|00001830| 65 6c 73 65 20 69 66 20 | 74 68 65 4d 73 67 43 6f |else if |theMsgCo|
|00001840| 64 65 20 69 73 20 35 33 | 30 20 74 68 65 6e 20 61 |de is 53|0 then a|
|00001850| 73 6b 55 73 65 72 0d 65 | 6e 64 20 72 65 70 65 61 |skUser.e|nd repea|
|00001860| 74 0d 0d 65 6e 64 20 69 | 64 6c 65 0d 0d 6f 6e 20 |t..end i|dle..on |
|00001870| 63 68 65 63 6b 53 74 61 | 74 65 20 74 68 65 53 74 |checkSta|te theSt|
|00001880| 61 74 65 0d 67 6c 6f 62 | 61 6c 20 63 6f 6e 6e 65 |ate.glob|al conne|
|00001890| 63 74 69 6f 6e 49 44 2c | 20 73 4c 69 6e 65 0d 0d |ctionID,| sLine..|
|000018a0| 69 66 20 74 68 65 53 74 | 61 74 65 20 3d 20 62 67 |if theSt|ate = bg|
|000018b0| 20 66 6c 64 20 22 53 74 | 61 74 65 22 20 74 68 65 | fld "St|ate" the|
|000018c0| 6e 20 65 78 69 74 20 63 | 68 65 63 6b 53 74 61 74 |n exit c|heckStat|
|000018d0| 65 20 2d 2d 20 6e 6f 20 | 73 74 61 74 75 73 20 63 |e -- no |status c|
|000018e0| 68 61 6e 67 65 0d 6c 6f | 63 6b 20 73 63 72 65 65 |hange.lo|ck scree|
|000018f0| 6e 0d 0d 69 66 20 74 68 | 65 53 74 61 74 65 20 69 |n..if th|eState i|
|00001900| 73 20 22 6e 6f 20 63 6f | 6e 6e 65 63 74 69 6f 6e |s "no co|nnection|
|00001910| 22 20 74 68 65 6e 0d 70 | 75 74 20 65 6d 70 74 79 |" then.p|ut empty|
|00001920| 20 69 6e 74 6f 20 63 61 | 72 64 20 66 6c 64 20 22 | into ca|rd fld "|
|00001930| 73 74 61 74 75 73 22 0d | 70 75 74 20 7a 65 72 6f |status".|put zero|
|00001940| 20 69 6e 74 6f 20 73 4c | 69 6e 65 0d 0d 73 65 74 | into sL|ine..set|
|00001950| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 63 61 72 | the nam|e of car|
|00001960| 64 20 62 74 6e 20 69 64 | 20 36 20 74 6f 20 22 43 |d btn id| 6 to "C|
|00001970| 6f 6e 6e 65 63 74 22 0d | 65 6e 64 20 69 66 0d 0d |onnect".|end if..|
|00001980| 69 66 20 74 68 65 53 74 | 61 74 65 20 69 73 20 22 |if theSt|ate is "|
|00001990| 65 73 74 61 62 6c 69 73 | 68 65 64 22 20 74 68 65 |establis|hed" the|
|000019a0| 6e 0d 73 65 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |n.set th|e name o|
|000019b0| 66 20 63 61 72 64 20 62 | 74 6e 20 69 64 20 36 20 |f card b|tn id 6 |
|000019c0| 74 6f 20 22 44 69 73 63 | 6f 6e 6e 65 63 74 22 0d |to "Disc|onnect".|
|000019d0| 70 75 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 62 67 |put line| 1 of bg|
|000019e0| 20 66 69 65 6c 64 20 22 | 68 6f 73 74 20 6e 61 6d | field "|host nam|
|000019f0| 65 22 20 69 6e 74 6f 20 | 63 61 72 64 20 66 69 65 |e" into |card fie|
|00001a00| 6c 64 20 68 6f 73 74 6e | 61 6d 65 0d 65 6e 64 20 |ld hostn|ame.end |
|00001a10| 69 66 0d 0d 69 66 20 74 | 68 65 53 74 61 74 65 20 |if..if t|heState |
|00001a20| 63 6f 6e 74 61 69 6e 73 | 20 22 63 6c 6f 73 65 22 |contains| "close"|
|00001a30| 20 74 68 65 6e 0d 54 43 | 50 43 6c 6f 73 65 20 63 | then.TC|PClose c|
|00001a40| 6f 6e 6e 65 63 74 69 6f | 6e 49 44 0d 54 43 50 52 |onnectio|nID.TCPR|
|00001a50| 65 6c 65 61 73 65 20 63 | 6f 6e 6e 65 63 74 69 6f |elease c|onnectio|
|00001a60| 6e 49 44 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |nID.put |empty in|
|00001a70| 74 6f 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 49 44 0d |to conne|ctionID.|
|00001a80| 63 6c 65 61 72 53 65 6c | 65 63 74 69 6f 6e 0d 70 |clearSel|ection.p|
|00001a90| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 63 61 |ut empty| into ca|
|00001aa0| 72 64 20 66 69 65 6c 64 | 20 6c 69 73 74 0d 70 75 |rd field| list.pu|
|00001ab0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 63 61 72 |t empty |into car|
|00001ac0| 64 20 66 69 65 6c 64 20 | 64 69 72 65 63 74 6f 72 |d field |director|
|00001ad0| 79 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |y.put em|pty into|
|00001ae0| 20 63 61 72 64 20 66 69 | 65 6c 64 20 68 6f 73 74 | card fi|eld host|
|00001af0| 6e 61 6d 65 0d 65 6e 64 | 20 69 66 0d 0d 69 66 20 |name.end| if..if |
|00001b00| 74 68 65 53 74 61 74 65 | 20 63 6f 6e 74 61 69 6e |theState| contain|
|00001b10| 73 20 22 77 61 69 74 69 | 6e 67 22 0d 74 68 65 6e |s "waiti|ng".then|
|00001b20| 20 73 65 74 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 | set the| name of|
|00001b30| 20 63 61 72 64 20 62 74 | 6e 20 69 64 20 36 20 74 | card bt|n id 6 t|
|00001b40| 6f 20 22 44 69 73 63 6f | 6e 6e 65 63 74 22 0d 0d |o "Disco|nnect"..|
|00001b50| 70 75 74 20 74 68 65 53 | 74 61 74 65 20 69 6e 74 |put theS|tate int|
|00001b60| 6f 20 62 67 20 66 6c 64 | 20 22 53 74 61 74 65 22 |o bg fld| "State"|
|00001b70| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 65 |.unlock |screen.e|
|00001b80| 6e 64 20 63 68 65 63 6b | 53 74 61 74 65 0d 0d 0d |nd check|State...|
|00001b90| 6f 6e 20 61 73 6b 55 73 | 65 72 0d 61 73 6b 20 22 |on askUs|er.ask "|
|00001ba0| 55 73 65 72 20 6e 61 6d | 65 3a 22 20 77 69 74 68 |User nam|e:" with|
|00001bb0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 62 67 20 66 69 | line 1 |of bg fi|
|00001bc0| 65 6c 64 20 6c 61 73 74 | 55 73 65 72 0d 69 66 20 |eld last|User.if |
|00001bd0| 69 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |it is no|t empty |
|00001be0| 74 68 65 6e 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |then.put| it into|
|00001bf0| 20 62 67 20 66 69 65 6c | 64 20 6c 61 73 74 55 73 | bg fiel|d lastUs|
|00001c00| 65 72 0d 73 65 6e 64 4c | 69 6e 65 20 22 55 53 45 |er.sendL|ine "USE|
|00001c10| 52 22 20 26 26 20 69 74 | 0d 65 6e 64 20 69 66 0d |R" && it|.end if.|
|00001c20| 0d 65 6e 64 20 61 73 6b | 55 73 65 72 0d 0d 6f 6e |.end ask|User..on|
|00001c30| 20 61 73 6b 50 61 73 73 | 0d 6c 6f 63 6b 20 73 63 | askPass|.lock sc|
|00001c40| 72 65 65 6e 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |reen.put| empty i|
|00001c50| 6e 74 6f 20 74 68 65 52 | 65 73 75 6c 74 0d 72 65 |nto theR|esult.re|
|00001c60| 70 65 61 74 20 77 68 69 | 6c 65 20 74 68 65 52 65 |peat whi|le theRe|
|00001c70| 73 75 6c 74 20 69 73 20 | 65 6d 70 74 79 0d 61 73 |sult is |empty.as|
|00001c80| 6b 20 50 61 73 73 77 6f | 72 64 20 63 6c 65 61 72 |k Passwo|rd clear|
|00001c90| 20 22 45 6e 74 65 72 20 | 74 68 65 20 70 61 73 73 | "Enter |the pass|
|00001ca0| 77 6f 72 64 3a 22 0d 69 | 66 20 74 68 65 20 72 65 |word:".i|f the re|
|00001cb0| 73 75 6c 74 20 69 73 20 | 22 43 61 6e 63 65 6c 22 |sult is |"Cancel"|
|00001cc0| 20 74 68 65 6e 20 65 78 | 69 74 20 72 65 70 65 61 | then ex|it repea|
|00001cd0| 74 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 74 68 |t.put it| into th|
|00001ce0| 65 52 65 73 75 6c 74 0d | 65 6e 64 20 72 65 70 65 |eResult.|end repe|
|00001cf0| 61 74 0d 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |at..unlo|ck scree|
|00001d00| 6e 0d 69 66 20 74 68 65 | 52 65 73 75 6c 74 20 69 |n.if the|Result i|
|00001d10| 73 20 6e 6f 74 20 65 6d | 70 74 79 0d 74 68 65 6e |s not em|pty.then|
|00001d20| 0d 73 65 6e 64 4c 69 6e | 65 20 22 50 41 53 53 22 |.sendLin|e "PASS"|
|00001d30| 20 26 26 20 69 74 0d 65 | 6c 73 65 0d 73 65 6e 64 | && it.e|lse.send|
|00001d40| 20 6d 6f 75 73 65 55 70 | 20 74 6f 20 63 61 72 64 | mouseUp| to card|
|00001d50| 20 62 74 6e 20 22 44 69 | 73 63 6f 6e 6e 65 63 74 | btn "Di|sconnect|
|00001d60| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 61 73 6b |".end if|.end ask|
|00001d70| 50 61 73 73 0d 0d 6f 6e | 20 71 75 69 74 49 74 0d |Pass..on| quitIt.|
|00001d80| 67 6c 6f 62 61 6c 20 63 | 6f 6e 6e 65 63 74 69 6f |global c|onnectio|
|00001d90| 6e 49 44 0d 0d 54 43 50 | 43 6c 6f 73 65 20 63 6f |nID..TCP|Close co|
|00001da0| 6e 6e 65 63 74 69 6f 6e | 49 44 0d 69 66 20 74 68 |nnection|ID.if th|
|00001db0| 65 20 72 65 73 75 6c 74 | 20 69 73 20 6e 6f 74 20 |e result| is not |
|00001dc0| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 74 |empty th|en put t|
|00001dd0| 68 65 20 72 65 73 75 6c | 74 20 69 6e 74 6f 20 63 |he resul|t into c|
|00001de0| 61 72 64 20 66 6c 64 20 | 22 73 74 61 74 75 73 22 |ard fld |"status"|
|00001df0| 0d 65 6e 64 20 71 75 69 | 74 49 74 0d 0d 0d 66 75 |.end qui|tIt...fu|
|00001e00| 6e 63 74 69 6f 6e 20 67 | 65 74 4c 69 6e 65 0d 67 |nction g|etLine.g|
|00001e10| 6c 6f 62 61 6c 20 63 6f | 6e 6e 65 63 74 69 6f 6e |lobal co|nnection|
|00001e20| 49 44 0d 0d 72 65 70 65 | 61 74 20 35 20 74 69 6d |ID..repe|at 5 tim|
|00001e30| 65 73 0d 73 65 74 20 74 | 68 65 20 63 75 72 73 6f |es.set t|he curso|
|00001e40| 72 20 74 6f 20 62 75 73 | 79 0d 67 65 74 20 54 43 |r to bus|y.get TC|
|00001e50| 50 52 65 63 76 55 70 54 | 6f 28 20 63 6f 6e 6e 65 |PRecvUpT|o( conne|
|00001e60| 63 74 69 6f 6e 49 44 2c | 20 6c 69 6e 65 66 65 65 |ctionID,| linefee|
|00001e70| 64 2c 20 32 30 2c 20 65 | 6d 70 74 79 20 29 0d 69 |d, 20, e|mpty ).i|
|00001e80| 66 20 69 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |f it is |not empt|
|00001e90| 79 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |y then e|xit repe|
|00001ea0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 0d 70 |at.end r|epeat..p|
|00001eb0| 75 74 20 69 74 20 69 6e | 74 6f 20 74 68 65 4d 73 |ut it in|to theMs|
|00001ec0| 67 0d 70 75 74 20 6c 65 | 6e 67 74 68 28 74 68 65 |g.put le|ngth(the|
|00001ed0| 4d 73 67 29 20 2d 20 31 | 20 69 6e 74 6f 20 6c 6d |Msg) - 1| into lm|
|00001ee0| 0d 70 75 74 20 63 68 61 | 72 20 31 20 74 6f 20 6c |.put cha|r 1 to l|
|00001ef0| 6d 20 6f 66 20 74 68 65 | 4d 73 67 20 69 6e 74 6f |m of the|Msg into|
|00001f00| 20 63 61 72 64 20 66 6c | 64 20 22 73 74 61 74 75 | card fl|d "statu|
|00001f10| 73 22 0d 72 65 74 75 72 | 6e 20 69 74 0d 65 6e 64 |s".retur|n it.end|
|00001f20| 20 67 65 74 4c 69 6e 65 | 0d 0d 6f 6e 20 73 65 6e | getLine|..on sen|
|00001f30| 64 4c 69 6e 65 20 74 65 | 78 74 0d 67 6c 6f 62 61 |dLine te|xt.globa|
|00001f40| 6c 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 49 44 0d 54 |l connec|tionID.T|
|00001f50| 43 50 53 65 6e 64 20 63 | 6f 6e 6e 65 63 74 69 6f |CPSend c|onnectio|
|00001f60| 6e 49 44 2c 20 74 65 78 | 74 20 26 20 72 65 74 75 |nID, tex|t & retu|
|00001f70| 72 6e 20 26 20 6c 69 6e | 65 66 65 65 64 0d 65 6e |rn & lin|efeed.en|
|00001f80| 64 20 73 65 6e 64 4c 69 | 6e 65 0d 0d 0d 6f 6e 20 |d sendLi|ne...on |
|00001f90| 69 64 6c 65 43 75 72 73 | 6f 72 0d 67 6c 6f 62 61 |idleCurs|or.globa|
|00001fa0| 6c 20 6c 61 73 74 54 75 | 72 6e 0d 0d 67 65 74 20 |l lastTu|rn..get |
|00001fb0| 74 68 65 20 73 65 63 6f | 6e 64 73 0d 69 66 20 69 |the seco|nds.if i|
|00001fc0| 74 20 ad 20 6c 61 73 74 | 54 75 72 6e 20 74 68 65 |t . last|Turn the|
|00001fd0| 6e 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |n.set th|e cursor|
|00001fe0| 20 74 6f 20 62 75 73 79 | 20 2d 2d 20 73 70 69 6e | to busy| -- spin|
|00001ff0| 20 74 68 65 20 62 61 6c | 6c 0d 70 75 74 20 69 74 | the bal|l.put it|
|00002000| 20 69 6e 74 6f 20 6c 61 | 73 74 54 75 72 6e 0d 65 | into la|stTurn.e|
|00002010| 6e 64 20 69 66 0d 65 6e | 64 20 69 64 6c 65 43 75 |nd if.en|d idleCu|
|00002020| 72 73 6f 72 0d 0d 0d 2d | 2d 20 4f 70 65 6e 20 61 |rsor...-|- Open a|
|00002030| 20 64 61 74 61 20 63 6f | 6e 6e 65 63 74 69 6f 6e | data co|nnection|
|00002040| 20 66 6f 72 20 74 72 61 | 6e 73 66 65 72 72 69 6e | for tra|nsferrin|
|00002050| 67 20 61 20 66 69 6c 65 | 2e 0d 2d 2d 20 54 68 65 |g a file|..-- The|
|00002060| 20 74 79 70 65 20 63 6f | 64 65 20 69 73 20 22 41 | type co|de is "A|
|00002070| 22 28 73 63 69 69 29 20 | 6f 72 20 22 49 22 28 6d |"(scii) |or "I"(m|
|00002080| 61 67 65 29 2e 0d 0d 6f | 6e 20 6f 70 65 6e 44 61 |age)...o|n openDa|
|00002090| 74 61 20 74 79 70 65 43 | 6f 64 65 0d 67 6c 6f 62 |ta typeC|ode.glob|
|000020a0| 61 6c 20 64 61 74 61 49 | 44 0d 0d 2d 2d 20 4d 61 |al dataI|D..-- Ma|
|000020b0| 6b 65 20 73 75 72 65 20 | 61 6e 79 20 70 72 65 76 |ke sure |any prev|
|000020c0| 69 6f 75 73 20 64 61 74 | 61 20 63 6f 6e 6e 65 63 |ious dat|a connec|
|000020d0| 74 69 6f 6e 20 69 73 20 | 72 65 6c 65 61 73 65 64 |tion is |released|
|000020e0| 0d 69 66 20 54 43 50 53 | 74 61 74 65 28 64 61 74 |.if TCPS|tate(dat|
|000020f0| 61 49 44 29 20 69 73 20 | 22 65 73 74 61 62 6c 69 |aID) is |"establi|
|00002100| 73 68 65 64 22 0d 74 68 | 65 6e 20 20 54 43 50 43 |shed".th|en TCPC|
|00002110| 6c 6f 73 65 20 64 61 74 | 61 49 44 0d 72 65 70 65 |lose dat|aID.repe|
|00002120| 61 74 20 75 6e 74 69 6c | 20 64 61 74 61 49 44 20 |at until| dataID |
|00002130| 69 73 20 65 6d 70 74 79 | 0d 69 64 6c 65 43 75 72 |is empty|.idleCur|
|00002140| 73 6f 72 0d 69 64 6c 65 | 0d 65 6e 64 20 72 65 70 |sor.idle|.end rep|
|00002150| 65 61 74 0d 0d 70 75 74 | 20 54 43 50 50 61 73 73 |eat..put| TCPPass|
|00002160| 69 76 65 4f 70 65 6e 28 | 20 30 2c 20 30 2c 20 30 |iveOpen(| 0, 0, 0|
|00002170| 20 29 20 69 6e 74 6f 20 | 64 61 74 61 49 44 20 2d | ) into |dataID -|
|00002180| 2d 20 63 72 65 61 74 65 | 20 61 20 6e 65 77 20 64 |- create| a new d|
|00002190| 61 74 61 20 63 6f 6e 6e | 2e 0d 0d 69 66 20 64 61 |ata conn|...if da|
|000021a0| 74 61 49 44 20 63 6f 6e | 74 61 69 6e 73 20 22 66 |taID con|tains "f|
|000021b0| 61 69 6c 22 20 74 68 65 | 6e 0d 70 75 74 20 64 61 |ail" the|n.put da|
|000021c0| 74 61 49 44 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |taID int|o cd fld|
|000021d0| 20 22 73 74 61 74 75 73 | 22 0d 70 75 74 20 65 6d | "status|".put em|
|000021e0| 70 74 79 20 69 6e 74 6f | 20 64 61 74 61 49 44 0d |pty into| dataID.|
|000021f0| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 43 61 72 |exit to |HyperCar|
|00002200| 64 0d 65 6e 64 20 69 66 | 0d 0d 77 61 69 74 20 75 |d.end if|..wait u|
|00002210| 6e 74 69 6c 20 54 43 50 | 53 74 61 74 65 28 20 64 |ntil TCP|State( d|
|00002220| 61 74 61 49 44 20 29 20 | 63 6f 6e 74 61 69 6e 73 |ataID ) |contains|
|00002230| 20 22 77 61 69 74 69 6e | 67 22 20 2d 2d 20 68 61 | "waitin|g" -- ha|
|00002240| 70 70 65 6e 73 20 61 73 | 79 6e 63 68 2e 0d 0d 67 |ppens as|ynch...g|
|00002250| 65 74 20 67 65 74 6c 69 | 6e 65 28 29 0d 73 65 6e |et getli|ne().sen|
|00002260| 64 4c 69 6e 65 20 22 50 | 4f 52 54 22 20 26 26 20 |dLine "P|ORT" && |
|00002270| 54 43 50 47 65 74 41 64 | 64 72 28 20 64 61 74 61 |TCPGetAd|dr( data|
|00002280| 49 44 20 29 20 2d 2d 20 | 73 70 65 63 69 66 79 20 |ID ) -- |specify |
|00002290| 74 68 65 20 64 61 74 61 | 20 70 6f 72 74 20 61 64 |the data| port ad|
|000022a0| 64 72 0d 70 75 74 20 67 | 65 74 4c 69 6e 65 28 29 |dr.put g|etLine()|
|000022b0| 20 69 6e 74 6f 20 64 72 | 65 73 70 0d 70 75 74 20 | into dr|esp.put |
|000022c0| 63 68 61 72 20 31 20 6f | 66 20 64 72 65 73 70 20 |char 1 o|f dresp |
|000022d0| 69 6e 74 6f 20 72 65 73 | 70 0d 69 66 20 72 65 73 |into res|p.if res|
|000022e0| 70 20 69 73 20 22 32 22 | 20 74 68 65 6e 0d 73 65 |p is "2"| then.se|
|000022f0| 6e 64 4c 69 6e 65 20 22 | 54 59 50 45 22 20 26 26 |ndLine "|TYPE" &&|
|00002300| 20 74 79 70 65 43 6f 64 | 65 20 2d 2d 20 73 70 65 | typeCod|e -- spe|
|00002310| 63 69 66 79 20 74 68 65 | 20 74 72 61 6e 73 66 65 |cify the| transfe|
|00002320| 72 20 6d 6f 64 65 0d 70 | 75 74 20 63 68 61 72 20 |r mode.p|ut char |
|00002330| 31 20 6f 66 20 67 65 74 | 4c 69 6e 65 28 29 20 69 |1 of get|Line() i|
|00002340| 6e 74 6f 20 72 65 73 70 | 0d 0d 69 66 20 72 65 73 |nto resp|..if res|
|00002350| 70 20 69 73 20 22 32 22 | 20 61 6e 64 20 74 79 70 |p is "2"| and typ|
|00002360| 65 43 6f 64 65 20 69 73 | 20 22 49 22 20 74 68 65 |eCode is| "I" the|
|00002370| 6e 0d 73 65 6e 64 4c 69 | 6e 65 20 22 54 59 50 45 |n.sendLi|ne "TYPE|
|00002380| 20 4c 20 38 22 20 2d 2d | 20 73 65 74 20 62 79 74 | L 8" --| set byt|
|00002390| 65 20 6c 65 6e 67 74 68 | 20 74 6f 20 38 0d 67 65 |e length| to 8.ge|
|000023a0| 74 20 63 68 61 72 20 31 | 20 6f 66 20 67 65 74 4c |t char 1| of getL|
|000023b0| 69 6e 65 28 29 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ine().en|d if.end|
|000023c0| 20 69 66 0d 0d 69 66 20 | 72 65 73 70 20 69 73 20 | if..if |resp is |
|000023d0| 6e 6f 74 20 22 32 22 20 | 74 68 65 6e 0d 61 6e 73 |not "2" |then.ans|
|000023e0| 77 65 72 20 64 72 65 73 | 70 0d 54 43 50 43 6c 6f |wer dres|p.TCPClo|
|000023f0| 73 65 20 64 61 74 61 49 | 44 0d 65 78 69 74 20 74 |se dataI|D.exit t|
|00002400| 6f 20 48 79 70 65 72 43 | 61 72 64 20 2d 2d 20 64 |o HyperC|ard -- d|
|00002410| 6f 6e 27 74 20 63 6f 6e | 74 69 6e 75 65 20 77 69 |on't con|tinue wi|
|00002420| 74 68 20 66 69 6c 65 20 | 74 72 61 6e 73 66 65 72 |th file |transfer|
|00002430| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 6f 70 65 6e |.end if.|end open|
|00002440| 44 61 74 61 0d 0d 2d 2d | 20 43 61 6c 6c 20 77 68 |Data..--| Call wh|
|00002450| 65 6e 20 77 65 27 72 65 | 20 64 6f 6e 65 20 77 69 |en we're| done wi|
|00002460| 74 68 20 61 20 64 61 74 | 61 20 63 6f 6e 6e 65 63 |th a dat|a connec|
|00002470| 74 69 6f 6e 20 28 74 72 | 61 6e 73 66 65 72 20 63 |tion (tr|ansfer c|
|00002480| 6f 6d 70 6c 65 74 65 64 | 29 0d 6f 6e 20 63 6c 6f |ompleted|).on clo|
|00002490| 73 65 44 61 74 61 0d 67 | 6c 6f 62 61 6c 20 64 61 |seData.g|lobal da|
|000024a0| 74 61 49 44 0d 69 66 20 | 64 61 74 61 49 44 20 69 |taID.if |dataID i|
|000024b0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|000024c0| 0d 0d 54 43 50 43 6c 6f | 73 65 20 64 61 74 61 49 |..TCPClo|se dataI|
|000024d0| 44 20 2d 2d 20 63 6c 6f | 73 65 20 61 6e 64 20 6c |D -- clo|se and l|
|000024e0| 65 74 20 69 64 6c 65 20 | 68 61 6e 64 6c 65 72 20 |et idle |handler |
|000024f0| 74 61 6b 65 20 63 61 72 | 65 20 6f 66 20 72 65 6c |take car|e of rel|
|00002500| 65 61 73 65 0d 69 66 20 | 74 68 65 20 72 65 73 75 |ease.if |the resu|
|00002510| 6c 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |lt is no|t empty |
|00002520| 74 68 65 6e 20 70 75 74 | 20 74 68 65 20 72 65 73 |then put| the res|
|00002530| 75 6c 74 20 69 6e 74 6f | 20 63 61 72 64 20 66 6c |ult into| card fl|
|00002540| 64 20 22 73 74 61 74 75 | 73 22 0d 65 6e 64 20 69 |d "statu|s".end i|
|00002550| 66 0d 0d 65 6e 64 20 63 | 6c 6f 73 65 44 61 74 61 |f..end c|loseData|
|00002560| 0d 0d 2d 2d 20 48 61 6e | 67 20 6f 75 74 20 77 68 |..-- Han|g out wh|
|00002570| 69 6c 65 20 74 68 65 20 | 64 61 74 61 20 63 6f 6e |ile the |data con|
|00002580| 6e 65 63 74 69 6f 6e 20 | 69 73 20 62 65 69 6e 67 |nection |is being|
|00002590| 20 65 73 74 61 62 6c 69 | 73 68 65 64 0d 66 75 6e | establi|shed.fun|
|000025a0| 63 74 69 6f 6e 20 57 61 | 69 74 46 6f 72 44 61 74 |ction Wa|itForDat|
|000025b0| 61 43 6f 6e 0d 67 6c 6f | 62 61 6c 20 64 61 74 61 |aCon.glo|bal data|
|000025c0| 49 44 0d 0d 69 66 20 54 | 43 50 53 74 61 74 65 28 |ID..if T|CPState(|
|000025d0| 20 64 61 74 61 49 44 20 | 29 20 69 73 20 22 65 73 | dataID |) is "es|
|000025e0| 74 61 62 6c 69 73 68 65 | 64 22 20 74 68 65 6e 20 |tablishe|d" then |
|000025f0| 72 65 74 75 72 6e 20 74 | 72 75 65 0d 0d 72 65 70 |return t|rue..rep|
|00002600| 65 61 74 20 75 6e 74 69 | 6c 20 54 43 50 53 74 61 |eat unti|l TCPSta|
|00002610| 74 65 28 20 64 61 74 61 | 49 44 20 29 20 69 73 20 |te( data|ID ) is |
|00002620| 22 65 73 74 61 62 6c 69 | 73 68 65 64 22 0d 69 66 |"establi|shed".if|
|00002630| 20 54 43 50 53 74 61 74 | 65 28 20 64 61 74 61 49 | TCPStat|e( dataI|
|00002640| 44 20 29 20 63 6f 6e 74 | 61 69 6e 73 20 22 63 6c |D ) cont|ains "cl|
|00002650| 6f 73 65 22 20 74 68 65 | 6e 20 72 65 74 75 72 6e |ose" the|n return|
|00002660| 20 66 61 6c 73 65 0d 69 | 64 6c 65 43 75 72 73 6f | false.i|dleCurso|
|00002670| 72 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 0d 72 65 |r.end re|peat..re|
|00002680| 74 75 72 6e 20 74 72 75 | 65 20 2d 2d 20 73 69 67 |turn tru|e -- sig|
|00002690| 6e 61 6c 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 69 |nal conn|ection i|
|000026a0| 73 20 65 73 74 61 62 6c | 69 73 68 65 64 0d 65 6e |s establ|ished.en|
|000026b0| 64 20 57 61 69 74 46 6f | 72 44 61 74 61 43 6f 6e |d WaitFo|rDataCon|
|000026c0| 0d 0d 0d 0d 2d 2d 20 54 | 72 61 6e 73 66 65 72 20 |....-- T|ransfer |
|000026d0| 61 20 66 69 6c 65 20 66 | 72 6f 6d 20 74 68 65 20 |a file f|rom the |
|000026e0| 68 6f 73 74 2e 0d 0d 6f | 6e 20 72 65 63 65 69 76 |host...o|n receiv|
|000026f0| 65 46 69 6c 65 20 72 65 | 6d 6f 74 65 4e 61 6d 65 |eFile re|moteName|
|00002700| 2c 6c 6f 63 61 6c 46 69 | 6c 65 2c 78 54 79 70 65 |,localFi|le,xType|
|00002710| 0d 67 6c 6f 62 61 6c 20 | 64 61 74 61 49 44 0d 0d |.global |dataID..|
|00002720| 6f 70 65 6e 44 61 74 61 | 20 78 54 79 70 65 0d 69 |openData| xType.i|
|00002730| 66 20 64 61 74 61 49 44 | 20 69 73 20 6e 6f 74 20 |f dataID| is not |
|00002740| 65 6d 70 74 79 20 74 68 | 65 6e 0d 0d 73 65 6e 64 |empty th|en..send|
|00002750| 4c 69 6e 65 20 22 52 45 | 54 52 22 20 26 26 20 72 |Line "RE|TR" && r|
|00002760| 65 6d 6f 74 65 4e 61 6d | 65 0d 67 65 74 20 67 65 |emoteNam|e.get ge|
|00002770| 74 4c 69 6e 65 28 29 0d | 70 75 74 20 69 74 20 69 |tLine().|put it i|
|00002780| 6e 74 6f 20 74 68 65 52 | 65 73 75 6c 74 0d 0d 69 |nto theR|esult..i|
|00002790| 66 20 63 68 61 72 20 31 | 20 6f 66 20 74 68 65 52 |f char 1| of theR|
|000027a0| 65 73 75 6c 74 20 69 73 | 20 22 31 22 20 74 68 65 |esult is| "1" the|
|000027b0| 6e 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |n.set th|e cursor|
|000027c0| 20 74 6f 20 62 75 73 79 | 0d 69 66 20 54 43 50 53 | to busy|.if TCPS|
|000027d0| 74 61 74 65 28 20 64 61 | 74 61 49 44 20 29 20 69 |tate( da|taID ) i|
|000027e0| 73 20 22 65 73 74 61 62 | 6c 69 73 68 65 64 22 20 |s "estab|lished" |
|000027f0| 6f 72 20 57 61 69 74 46 | 6f 72 44 61 74 61 43 6f |or WaitF|orDataCo|
|00002800| 6e 28 29 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |n() then|.set the|
|00002810| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00002820| 46 54 50 52 65 61 64 20 | 64 61 74 61 49 44 2c 20 |FTPRead |dataID, |
|00002830| 78 54 79 70 65 2c 20 6c | 6f 63 61 6c 46 69 6c 65 |xType, l|ocalFile|
|00002840| 0d 67 65 74 20 74 68 65 | 20 72 65 73 75 6c 74 0d |.get the| result.|
|00002850| 69 66 20 69 74 20 63 6f | 6e 74 61 69 6e 73 20 22 |if it co|ntains "|
|00002860| a4 22 0d 74 68 65 6e 0d | 70 75 74 20 69 74 20 69 |.".then.|put it i|
|00002870| 6e 74 6f 20 63 61 72 64 | 20 66 6c 64 20 22 73 74 |nto card| fld "st|
|00002880| 61 74 75 73 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |atus".en|d if.end|
|00002890| 20 69 66 0d 65 6e 64 20 | 69 66 0d 63 6c 6f 73 65 | if.end |if.close|
|000028a0| 44 61 74 61 0d 65 6e 64 | 20 69 66 0d 0d 65 6e 64 |Data.end| if..end|
|000028b0| 20 72 65 63 65 69 76 65 | 46 69 6c 65 0d 0d 2d 2d | receive|File..--|
|000028c0| 20 54 72 61 6e 73 66 65 | 72 20 61 20 66 69 6c 65 | Transfe|r a file|
|000028d0| 20 74 6f 20 74 68 65 20 | 68 6f 73 74 0d 0d 6f 6e | to the |host..on|
|000028e0| 20 73 65 6e 64 46 69 6c | 65 20 20 72 65 6d 4e 61 | sendFil|e remNa|
|000028f0| 6d 65 2c 20 6c 6f 63 61 | 6c 4e 61 6d 65 2c 78 54 |me, loca|lName,xT|
|00002900| 79 70 65 0d 67 6c 6f 62 | 61 6c 20 64 61 74 61 49 |ype.glob|al dataI|
|00002910| 44 0d 0d 0d 69 66 20 6c | 6f 63 61 6c 4e 61 6d 65 |D...if l|ocalName|
|00002920| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|00002930| 78 69 74 20 73 65 6e 64 | 46 69 6c 65 0d 0d 69 66 |xit send|File..if|
|00002940| 20 72 65 6d 4e 61 6d 65 | 20 69 73 20 65 6d 70 74 | remName| is empt|
|00002950| 79 20 74 68 65 6e 0d 70 | 75 74 20 6c 6f 63 61 6c |y then.p|ut local|
|00002960| 4e 61 6d 65 20 69 6e 74 | 6f 20 72 65 6d 4e 61 6d |Name int|o remNam|
|00002970| 65 0d 67 65 74 20 6f 66 | 66 73 65 74 28 20 22 3a |e.get of|fset( ":|
|00002980| 22 2c 20 72 65 6d 4e 61 | 6d 65 20 29 20 2d 2d 20 |", remNa|me ) -- |
|00002990| 65 78 74 72 61 63 74 20 | 74 68 65 20 66 69 6c 65 |extract |the file|
|000029a0| 20 6e 61 6d 65 20 66 72 | 6f 6d 20 74 68 65 20 66 | name fr|om the f|
|000029b0| 75 6c 6c 20 70 61 74 68 | 0d 72 65 70 65 61 74 20 |ull path|.repeat |
|000029c0| 77 68 69 6c 65 20 69 74 | 20 ad 20 30 0d 64 65 6c |while it| . 0.del|
|000029d0| 65 74 65 20 63 68 61 72 | 20 31 20 74 6f 20 69 74 |ete char| 1 to it|
|000029e0| 20 6f 66 20 72 65 6d 4e | 61 6d 65 0d 67 65 74 20 | of remN|ame.get |
|000029f0| 6f 66 66 73 65 74 28 20 | 22 3a 22 2c 20 72 65 6d |offset( |":", rem|
|00002a00| 4e 61 6d 65 20 29 0d 65 | 6e 64 20 72 65 70 65 61 |Name ).e|nd repea|
|00002a10| 74 0d 65 6e 64 20 69 66 | 0d 0d 0d 61 73 6b 20 22 |t.end if|...ask "|
|00002a20| 4e 61 6d 65 20 74 6f 20 | 73 61 76 65 20 61 73 20 |Name to |save as |
|00002a30| 6f 6e 20 74 68 65 20 68 | 6f 73 74 3a 22 20 77 69 |on the h|ost:" wi|
|00002a40| 74 68 20 72 65 6d 4e 61 | 6d 65 0d 69 66 20 69 74 |th remNa|me.if it|
|00002a50| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|00002a60| 78 69 74 20 73 65 6e 64 | 46 69 6c 65 0d 70 75 74 |xit send|File.put|
|00002a70| 20 69 74 20 69 6e 74 6f | 20 72 65 6d 4e 61 6d 65 | it into| remName|
|00002a80| 0d 0d 6f 70 65 6e 44 61 | 74 61 20 78 54 79 70 65 |..openDa|ta xType|
|00002a90| 20 2d 2d 20 6f 70 65 6e | 20 64 61 74 61 20 70 6f | -- open| data po|
|00002aa0| 72 74 20 75 73 69 6e 67 | 20 73 65 6c 65 63 74 65 |rt using| selecte|
|00002ab0| 64 20 78 66 65 72 20 74 | 79 70 65 0d 73 65 6e 64 |d xfer t|ype.send|
|00002ac0| 4c 69 6e 65 20 22 53 54 | 4f 52 22 20 26 26 20 72 |Line "ST|OR" && r|
|00002ad0| 65 6d 4e 61 6d 65 0d 0d | 69 66 20 63 68 61 72 20 |emName..|if char |
|00002ae0| 31 20 6f 66 20 67 65 74 | 4c 69 6e 65 28 29 20 69 |1 of get|Line() i|
|00002af0| 73 20 6e 6f 74 20 22 31 | 22 20 74 68 65 6e 0d 63 |s not "1|" then.c|
|00002b00| 6c 6f 73 65 44 61 74 61 | 20 2d 2d 20 6a 75 73 74 |loseData| -- just|
|00002b10| 20 63 6c 6f 73 65 20 74 | 68 65 20 64 61 74 61 20 | close t|he data |
|00002b20| 70 6f 72 74 0d 0d 65 6c | 73 65 0d 69 66 20 57 61 |port..el|se.if Wa|
|00002b30| 69 74 46 6f 72 44 61 74 | 61 43 6f 6e 28 29 20 74 |itForDat|aCon() t|
|00002b40| 68 65 6e 0d 0d 46 54 50 | 78 66 65 72 20 64 61 74 |hen..FTP|xfer dat|
|00002b50| 61 49 44 2c 20 22 73 65 | 6e 64 22 2c 20 78 54 79 |aID, "se|nd", xTy|
|00002b60| 70 65 2c 20 6c 6f 63 61 | 6c 4e 61 6d 65 2c 20 73 |pe, loca|lName, s|
|00002b70| 65 6e 64 54 65 78 74 0d | 0d 69 66 20 63 68 61 72 |endText.|.if char|
|00002b80| 20 31 20 6f 66 20 74 68 | 65 20 72 65 73 75 6c 74 | 1 of th|e result|
|00002b90| 20 69 73 20 22 a4 22 20 | 2d 2d 20 61 6e 20 65 72 | is "." |-- an er|
|00002ba0| 72 6f 72 3f 0d 74 68 65 | 6e 20 70 75 74 20 74 68 |ror?.the|n put th|
|00002bb0| 65 20 72 65 73 75 6c 74 | 20 69 6e 74 6f 20 62 67 |e result| into bg|
|00002bc0| 20 66 6c 64 20 22 53 63 | 72 65 65 6e 22 0d 0d 63 | fld "Sc|reen"..c|
|00002bd0| 6c 6f 73 65 44 61 74 61 | 20 2d 2d 20 63 6c 6f 73 |loseData| -- clos|
|00002be0| 65 20 74 68 65 20 64 61 | 74 61 20 70 6f 72 74 0d |e the da|ta port.|
|00002bf0| 69 66 20 63 68 61 72 20 | 31 20 6f 66 20 67 65 74 |if char |1 of get|
|00002c00| 4c 69 6e 65 28 29 20 69 | 73 20 22 32 22 20 74 68 |Line() i|s "2" th|
|00002c10| 65 6e 20 67 65 74 44 69 | 72 20 2d 2d 20 72 65 66 |en getDi|r -- ref|
|00002c20| 72 65 73 68 20 74 68 65 | 20 44 69 72 20 4c 69 73 |resh the| Dir Lis|
|00002c30| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |t.end if|.end if.|
|00002c40| 65 6e 64 20 73 65 6e 64 | 46 69 6c 65 0d 0d 6f 6e |end send|File..on|
|00002c50| 20 67 65 74 44 69 72 0d | 67 6c 6f 62 61 6c 20 64 | getDir.|global d|
|00002c60| 61 74 61 49 44 2c 20 50 | 57 44 63 6d 64 2c 20 73 |ataID, P|WDcmd, s|
|00002c70| 4c 69 6e 65 0d 0d 70 75 | 74 20 65 6d 70 74 79 20 |Line..pu|t empty |
|00002c80| 69 6e 74 6f 20 44 69 72 | 4c 69 73 74 0d 70 75 74 |into Dir|List.put|
|00002c90| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 63 61 72 64 | empty i|nto card|
|00002ca0| 20 66 69 65 6c 64 20 6c | 69 73 74 0d 70 75 74 20 | field l|ist.put |
|00002cb0| 7a 65 72 6f 20 20 69 6e | 74 6f 20 73 4c 69 6e 65 |zero in|to sLine|
|00002cc0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00002cd0| 63 61 72 64 20 66 6c 64 | 20 22 64 69 72 65 63 74 |card fld| "direct|
|00002ce0| 6f 72 79 22 0d 0d 69 66 | 20 50 57 44 63 6d 64 20 |ory"..if| PWDcmd |
|00002cf0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00002d00| 74 20 22 50 57 44 22 20 | 69 6e 74 6f 20 50 57 44 |t "PWD" |into PWD|
|00002d10| 63 6d 64 0d 0d 67 65 74 | 20 67 65 74 4c 69 6e 65 |cmd..get| getLine|
|00002d20| 28 29 0d 0d 72 65 70 65 | 61 74 20 32 20 74 69 6d |()..repe|at 2 tim|
|00002d30| 65 73 20 2d 2d 20 6d 61 | 79 20 68 61 76 65 20 74 |es -- ma|y have t|
|00002d40| 6f 20 74 72 79 20 62 6f | 74 68 20 22 50 57 44 22 |o try bo|th "PWD"|
|00002d50| 20 61 6e 64 20 22 58 50 | 57 44 22 0d 73 65 6e 64 | and "XP|WD".send|
|00002d60| 4c 69 6e 65 20 50 57 44 | 63 6d 64 20 2d 2d 20 73 |Line PWD|cmd -- s|
|00002d70| 65 6e 64 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 0d |end the |command.|
|00002d80| 0d 70 75 74 20 67 65 74 | 4c 69 6e 65 28 29 20 69 |.put get|Line() i|
|00002d90| 6e 74 6f 20 70 61 74 68 | 4d 73 67 0d 0d 69 66 20 |nto path|Msg..if |
|00002da0| 63 68 61 72 20 31 20 6f | 66 20 70 61 74 68 4d 73 |char 1 o|f pathMs|
|00002db0| 67 20 69 73 20 22 32 22 | 20 74 68 65 6e 20 65 78 |g is "2"| then ex|
|00002dc0| 69 74 20 72 65 70 65 61 | 74 0d 0d 69 66 20 50 57 |it repea|t..if PW|
|00002dd0| 44 63 6d 64 20 69 73 20 | 22 50 57 44 22 20 2d 2d |Dcmd is |"PWD" --|
|00002de0| 20 74 72 79 20 74 68 65 | 20 6f 74 68 65 72 20 63 | try the| other c|
|00002df0| 6f 6d 6d 61 6e 64 0d 74 | 68 65 6e 20 70 75 74 20 |ommand.t|hen put |
|00002e00| 22 58 50 57 44 22 20 69 | 6e 74 6f 20 50 57 44 63 |"XPWD" i|nto PWDc|
|00002e10| 6d 64 0d 65 6c 73 65 20 | 70 75 74 20 22 50 57 44 |md.else |put "PWD|
|00002e20| 22 20 20 69 6e 74 6f 20 | 50 57 44 63 6d 64 0d 65 |" into |PWDcmd.e|
|00002e30| 6e 64 20 72 65 70 65 61 | 74 0d 0d 67 65 74 20 6f |nd repea|t..get o|
|00002e40| 66 66 73 65 74 28 20 71 | 75 6f 74 65 2c 20 70 61 |ffset( q|uote, pa|
|00002e50| 74 68 4d 73 67 20 29 20 | 2d 2d 20 65 78 74 72 61 |thMsg ) |-- extra|
|00002e60| 63 74 20 74 68 65 20 70 | 61 74 68 20 6e 61 6d 65 |ct the p|ath name|
|00002e70| 20 28 68 6f 70 65 66 75 | 6c 6c 79 29 0d 69 66 20 | (hopefu|lly).if |
|00002e80| 69 74 20 69 73 20 6e 6f | 74 20 7a 65 72 6f 20 74 |it is no|t zero t|
|00002e90| 68 65 6e 0d 64 65 6c 65 | 74 65 20 63 68 61 72 20 |hen.dele|te char |
|00002ea0| 31 20 74 6f 20 69 74 20 | 6f 66 20 70 61 74 68 4d |1 to it |of pathM|
|00002eb0| 73 67 0d 67 65 74 20 6f | 66 66 73 65 74 28 20 71 |sg.get o|ffset( q|
|00002ec0| 75 6f 74 65 2c 20 70 61 | 74 68 4d 73 67 20 29 0d |uote, pa|thMsg ).|
|00002ed0| 70 75 74 20 63 68 61 72 | 20 31 20 74 6f 20 69 74 |put char| 1 to it|
|00002ee0| 2d 31 20 6f 66 20 70 61 | 74 68 4d 73 67 20 69 6e |-1 of pa|thMsg in|
|00002ef0| 74 6f 20 63 61 72 64 20 | 66 6c 64 20 22 64 69 72 |to card |fld "dir|
|00002f00| 65 63 74 6f 72 79 22 0d | 65 6e 64 20 69 66 0d 67 |ectory".|end if.g|
|00002f10| 65 74 20 67 65 74 4c 69 | 6e 65 28 29 0d 0d 0d 6f |et getLi|ne()...o|
|00002f20| 70 65 6e 44 61 74 61 20 | 22 41 22 0d 69 66 20 64 |penData |"A".if d|
|00002f30| 61 74 61 49 44 20 69 73 | 20 6e 6f 74 20 65 6d 70 |ataID is| not emp|
|00002f40| 74 79 20 74 68 65 6e 0d | 73 65 6e 64 4c 69 6e 65 |ty then.|sendLine|
|00002f50| 20 22 4c 49 53 54 22 0d | 67 65 74 20 67 65 74 4c | "LIST".|get getL|
|00002f60| 69 6e 65 28 29 0d 70 75 | 74 20 69 74 20 69 6e 74 |ine().pu|t it int|
|00002f70| 6f 20 74 68 65 52 65 73 | 75 6c 74 0d 69 66 20 63 |o theRes|ult.if c|
|00002f80| 68 61 72 20 31 20 6f 66 | 20 74 68 65 52 65 73 75 |har 1 of| theResu|
|00002f90| 6c 74 20 69 73 20 22 31 | 22 20 74 68 65 6e 0d 69 |lt is "1|" then.i|
|00002fa0| 66 20 57 61 69 74 46 6f | 72 44 61 74 61 43 6f 6e |f WaitFo|rDataCon|
|00002fb0| 28 29 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |() then.|set the |
|00002fc0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 66 |cursor t|o busy.f|
|00002fd0| 74 70 52 45 41 44 20 64 | 61 74 61 49 44 2c 22 61 |tpREAD d|ataID,"a|
|00002fe0| 73 63 69 69 22 0d 67 65 | 74 20 74 68 65 20 72 65 |scii".ge|t the re|
|00002ff0| 73 75 6c 74 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |sult.put| it into|
|00003000| 20 44 69 72 4c 69 73 74 | 0d 69 66 20 44 69 72 4c | DirList|.if DirL|
|00003010| 69 73 74 20 63 6f 6e 74 | 61 69 6e 73 20 22 a4 22 |ist cont|ains "."|
|00003020| 0d 74 68 65 6e 0d 70 75 | 74 20 44 69 72 4c 69 73 |.then.pu|t DirLis|
|00003030| 74 20 69 6e 74 6f 20 63 | 61 72 64 20 66 6c 64 20 |t into c|ard fld |
|00003040| 22 73 74 61 74 75 73 22 | 0d 70 75 74 20 65 6d 70 |"status"|.put emp|
|00003050| 74 79 20 69 6e 74 6f 20 | 44 69 72 4c 69 73 74 0d |ty into |DirList.|
|00003060| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00003070| 64 20 69 66 0d 63 6c 6f | 73 65 44 61 74 61 0d 65 |d if.clo|seData.e|
|00003080| 6c 73 65 0d 70 75 74 20 | 22 43 6f 75 6c 64 6e 27 |lse.put |"Couldn'|
|00003090| 74 20 6f 70 65 6e 20 64 | 61 74 61 20 63 68 61 6e |t open d|ata chan|
|000030a0| 6e 65 6c 22 20 69 6e 74 | 6f 20 63 61 72 64 20 66 |nel" int|o card f|
|000030b0| 6c 64 20 22 73 74 61 74 | 75 73 22 0d 65 78 69 74 |ld "stat|us".exit|
|000030c0| 20 74 6f 20 68 79 70 65 | 72 43 61 72 64 0d 65 6e | to hype|rCard.en|
|000030d0| 64 20 69 66 0d 67 65 74 | 20 67 65 74 4c 69 6e 65 |d if.get| getLine|
|000030e0| 28 29 0d 0d 0d 69 66 20 | 44 69 72 4c 69 73 74 20 |()...if |DirList |
|000030f0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00003100| 6e 0d 70 75 74 20 22 53 | 6f 72 74 69 6e 67 20 44 |n.put "S|orting D|
|00003110| 69 72 65 63 74 6f 72 79 | 22 20 69 6e 74 6f 20 63 |irectory|" into c|
|00003120| 61 72 64 20 66 6c 64 20 | 22 73 74 61 74 75 73 22 |ard fld |"status"|
|00003130| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 70 75 74 |.lock sc|reen.put|
|00003140| 20 32 20 69 6e 74 6f 20 | 6c 63 0d 70 75 74 20 31 | 2 into |lc.put 1|
|00003150| 20 69 6e 74 6f 20 6f 6c | 63 0d 72 65 70 65 61 74 | into ol|c.repeat|
|00003160| 20 66 6f 72 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | for num|ber of l|
|00003170| 69 6e 65 73 20 69 6e 20 | 44 69 72 4c 69 73 74 0d |ines in |DirList.|
|00003180| 0d 69 66 20 66 69 72 73 | 74 20 63 68 61 72 20 6f |.if firs|t char o|
|00003190| 66 20 6c 61 73 74 20 77 | 6f 72 64 20 6f 66 20 6c |f last w|ord of l|
|000031a0| 69 6e 65 20 6c 63 20 6f | 66 20 44 69 72 4c 69 73 |ine lc o|f DirLis|
|000031b0| 74 20 3c 3e 20 22 2e 22 | 20 74 68 65 6e 0d 70 75 |t <> "."| then.pu|
|000031c0| 74 20 6c 61 73 74 20 77 | 6f 72 64 20 6f 66 20 6c |t last w|ord of l|
|000031d0| 69 6e 65 20 6c 63 20 6f | 66 20 44 69 72 4c 69 73 |ine lc o|f DirLis|
|000031e0| 74 20 69 6e 74 6f 20 6c | 69 6e 65 20 6f 6c 63 20 |t into l|ine olc |
|000031f0| 6f 66 20 63 61 72 64 20 | 66 6c 64 20 22 4c 69 73 |of card |fld "Lis|
|00003200| 74 22 0d 70 75 74 20 6f | 6c 63 20 2b 20 31 20 69 |t".put o|lc + 1 i|
|00003210| 6e 74 6f 20 6f 6c 63 0d | 65 6e 64 20 69 66 0d 69 |nto olc.|end if.i|
|00003220| 66 20 66 69 72 73 74 20 | 63 68 61 72 20 6f 66 20 |f first |char of |
|00003230| 6c 69 6e 65 20 6c 63 20 | 6f 66 20 44 69 72 4c 69 |line lc |of DirLi|
|00003240| 73 74 20 3d 20 22 64 22 | 20 74 68 65 6e 0d 73 65 |st = "d"| then.se|
|00003250| 74 20 74 65 78 74 73 74 | 79 6c 65 20 6f 66 20 6c |t textst|yle of l|
|00003260| 69 6e 65 20 28 6f 6c 63 | 20 2d 20 31 29 20 6f 66 |ine (olc| - 1) of|
|00003270| 20 63 61 72 64 20 66 69 | 65 6c 64 20 6c 69 73 74 | card fi|eld list|
|00003280| 20 74 6f 20 6f 75 74 6c | 69 6e 65 0d 65 6c 73 65 | to outl|ine.else|
|00003290| 0d 73 65 74 20 74 65 78 | 74 73 74 79 6c 65 20 6f |.set tex|tstyle o|
|000032a0| 66 20 6c 69 6e 65 20 28 | 6f 6c 63 20 2d 20 31 20 |f line (|olc - 1 |
|000032b0| 29 20 6f 66 20 63 61 72 | 64 20 66 69 65 6c 64 20 |) of car|d field |
|000032c0| 6c 69 73 74 20 74 6f 20 | 70 6c 61 69 6e 0d 65 6e |list to |plain.en|
|000032d0| 64 20 69 66 0d 70 75 74 | 20 6c 63 20 2b 20 31 20 |d if.put| lc + 1 |
|000032e0| 69 6e 74 6f 20 6c 63 0d | 65 6e 64 20 72 65 70 65 |into lc.|end repe|
|000032f0| 61 74 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |at.unloc|k screen|
|00003300| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00003310| 63 61 72 64 20 66 6c 64 | 20 22 73 74 61 74 75 73 |card fld| "status|
|00003320| 22 0d 65 6c 73 65 0d 70 | 75 74 20 22 43 6f 75 6c |".else.p|ut "Coul|
|00003330| 64 6e 27 74 20 67 65 74 | 20 64 69 72 65 63 74 6f |dn't get| directo|
|00003340| 72 79 20 6c 69 73 74 69 | 6e 67 22 20 69 6e 74 6f |ry listi|ng" into|
|00003350| 20 63 61 72 64 20 66 6c | 64 20 22 73 74 61 74 75 | card fl|d "statu|
|00003360| 73 22 0d 65 6e 64 20 69 | 66 0d 0d 65 6e 64 20 67 |s".end i|f..end g|
|00003370| 65 74 44 69 72 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |etDir..f|unction |
|00003380| 63 68 61 6e 67 65 44 69 | 72 20 72 65 6d 6f 74 65 |changeDi|r remote|
|00003390| 46 69 6c 65 0d 67 65 74 | 20 6f 66 66 73 65 74 28 |File.get| offset(|
|000033a0| 20 22 2e 64 69 72 3b 22 | 2c 20 72 65 6d 6f 74 65 | ".dir;"|, remote|
|000033b0| 46 69 6c 65 20 29 20 2d | 2d 20 66 69 78 20 56 4d |File ) -|- fix VM|
|000033c0| 53 20 64 69 72 65 63 74 | 6f 72 79 20 6e 61 6d 65 |S direct|ory name|
|000033d0| 73 0d 69 66 20 69 74 20 | ad 20 30 20 74 68 65 6e |s.if it |. 0 then|
|000033e0| 20 64 65 6c 65 74 65 20 | 63 68 61 72 20 69 74 20 | delete |char it |
|000033f0| 74 6f 20 6c 65 6e 67 74 | 68 28 20 72 65 6d 6f 74 |to lengt|h( remot|
|00003400| 65 46 49 6c 65 20 29 20 | 6f 66 20 72 65 6d 6f 74 |eFIle ) |of remot|
|00003410| 65 46 69 6c 65 0d 73 65 | 6e 64 4c 69 6e 65 20 22 |eFile.se|ndLine "|
|00003420| 43 57 44 22 20 26 26 20 | 72 65 6d 6f 74 65 46 69 |CWD" && |remoteFi|
|00003430| 6c 65 0d 0d 67 65 74 20 | 67 65 74 4c 69 6e 65 28 |le..get |getLine(|
|00003440| 29 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 74 72 |).put it| into tr|
|00003450| 65 73 75 6c 74 0d 67 65 | 74 20 63 68 61 72 20 31 |esult.ge|t char 1|
|00003460| 20 6f 66 20 74 72 65 73 | 75 6c 74 0d 69 66 20 69 | of tres|ult.if i|
|00003470| 74 20 69 73 20 22 32 22 | 20 6f 72 20 69 74 20 69 |t is "2"| or it i|
|00003480| 73 20 22 33 22 20 74 68 | 65 6e 0d 67 65 74 44 69 |s "3" th|en.getDi|
|00003490| 72 0d 72 65 74 75 72 6e | 20 74 72 75 65 0d 65 6c |r.return| true.el|
|000034a0| 73 65 0d 70 75 74 20 74 | 52 65 73 75 6c 74 20 69 |se.put t|Result i|
|000034b0| 6e 74 6f 20 63 61 72 64 | 20 66 69 65 6c 64 20 73 |nto card| field s|
|000034c0| 74 61 74 75 73 0d 65 6e | 64 20 69 66 0d 72 65 74 |tatus.en|d if.ret|
|000034d0| 75 72 6e 20 66 61 6c 73 | 65 0d 65 6e 64 20 63 68 |urn fals|e.end ch|
|000034e0| 61 6e 67 65 44 69 72 0d | 0d 66 75 6e 63 74 69 6f |angeDir.|.functio|
|000034f0| 6e 20 63 68 61 6e 67 65 | 44 69 72 55 70 0d 0d 73 |n change|DirUp..s|
|00003500| 65 6e 64 4c 69 6e 65 20 | 22 43 44 55 50 22 0d 67 |endLine |"CDUP".g|
|00003510| 65 74 20 67 65 74 4c 69 | 6e 65 28 29 0d 70 75 74 |et getLi|ne().put|
|00003520| 20 69 74 20 69 6e 74 6f | 20 74 72 65 73 75 6c 74 | it into| tresult|
|00003530| 0d 67 65 74 20 63 68 61 | 72 20 31 20 6f 66 20 74 |.get cha|r 1 of t|
|00003540| 72 65 73 75 6c 74 0d 69 | 66 20 69 74 20 69 73 20 |result.i|f it is |
|00003550| 22 32 22 20 6f 72 20 69 | 74 20 69 73 20 22 33 22 |"2" or i|t is "3"|
|00003560| 20 74 68 65 6e 0d 67 65 | 74 44 69 72 0d 72 65 74 | then.ge|tDir.ret|
|00003570| 75 72 6e 20 74 72 75 65 | 0d 65 6c 73 65 0d 70 75 |urn true|.else.pu|
|00003580| 74 20 74 52 65 73 75 6c | 74 20 69 6e 74 6f 20 63 |t tResul|t into c|
|00003590| 61 72 64 20 66 69 65 6c | 64 20 73 74 61 74 75 73 |ard fiel|d status|
|000035a0| 0d 65 6e 64 20 69 66 0d | 72 65 74 75 72 6e 20 66 |.end if.|return f|
|000035b0| 61 6c 73 65 0d 65 6e 64 | 20 63 68 61 6e 67 65 44 |alse.end| changeD|
|000035c0| 69 72 55 70 0d 0d 00 74 | 0d 67 65 74 20 63 68 61 |irUp...t|.get cha|
|000035d0| 72 20 31 20 6f 66 20 74 | 72 65 73 75 6c 74 0d 69 |r 1 of t|result.i|
|000035e0| 66 20 69 74 20 69 73 20 | 22 32 22 20 6f 72 20 69 |f it is |"2" or i|
|000035f0| 74 20 69 73 20 22 33 22 | 20 74 68 65 6e 0d 67 65 |t is "3"| then.ge|
|00003600| 74 44 69 72 0d 72 65 74 | 75 72 6e 20 74 72 75 65 |tDir.ret|urn true|
|00003610| 0d 65 6c 73 65 0d 70 75 | 74 20 74 52 65 73 75 6c |.else.pu|t tResul|
|00003620| 74 20 69 6e 74 6f 20 63 | 61 72 64 20 66 69 65 6c |t into c|ard fiel|
|00003630| 64 20 73 74 61 74 75 73 | 0d 65 6e 64 20 69 66 0d |d status|.end if.|
|00003640| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 0d 65 6e 64 |return f|alse.end|
|00003650| 20 63 68 61 6e 67 65 44 | 69 72 55 70 0d 0d 00 00 | changeD|irUp....|
|00003660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003680| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00003690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036a0| 00 00 00 00 00 00 00 00 | 00 02 04 7c 00 02 0b 76 |........|...|...v|
|000036b0| 00 03 b3 44 00 03 ba 67 | 00 03 a0 da 00 01 c0 50 |...D...g|.......P|
|000036c0| 00 01 c4 44 00 00 00 00 | 00 00 00 00 00 00 00 00 |...D....|........|
|000036d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003880| 00 00 00 80 4c 49 53 54 | 00 00 0f 50 00 00 00 00 |....LIST|...P....|
|00003890| 00 00 00 01 00 00 08 00 | 00 00 00 01 00 20 00 02 |........|..... ..|
|000038a0| 00 07 00 03 80 00 02 09 | 00 00 00 01 00 00 00 00 |........|........|
|000038b0| 00 00 10 44 00 01 00 00 | 00 00 00 00 00 00 00 00 |...D....|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 08 00 50 41 47 45 | 00 00 10 44 00 00 00 00 |....PAGE|...D....|
|00003910| 00 00 0f 50 c0 00 01 6e | 00 00 0b 76 e0 7f ff ff |...P...n|...v....|
|00003920| ff ff ff ff ff ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00003930| ff ff ff ff ff ff ff f0 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004100| 00 00 00 e0 42 4b 47 44 | 00 00 0a 7c 00 00 00 00 |....BKGD|...|....|
|00004110| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 00 0a 7c |........|.......||
|00004120| 00 00 0a 7c 00 04 00 04 | 00 00 00 a4 00 00 00 00 |...|....|........|
|00004130| 00 00 00 26 00 01 02 04 | 00 ca 01 cd 00 d6 01 d9 |...&....|........|
|00004140| 00 00 00 00 00 00 00 00 | 00 03 00 01 00 00 00 01 |........|........|
|00004150| 73 74 61 74 65 00 00 00 | 00 2a 00 02 02 04 00 d9 |state...|.*......|
|00004160| 01 cf 00 e5 01 db 00 00 | 00 00 00 00 00 00 00 03 |........|........|
|00004170| 00 01 00 00 00 01 48 6f | 73 74 20 6e 61 6d 65 00 |......Ho|st name.|
|00004180| 00 00 00 2a 00 03 02 04 | 01 02 01 ab 01 0e 01 b7 |...*....|........|
|00004190| 00 00 00 00 00 00 00 00 | 00 03 00 01 00 00 00 01 |........|........|
|000041a0| 4c 61 73 74 48 6f 73 74 | 00 00 00 00 00 2a 00 04 |LastHost|.....*..|
|000041b0| 02 04 00 df 01 9e 00 eb | 01 aa 00 00 00 00 00 00 |........|........|
|000041c0| 00 00 00 03 00 01 00 00 | 00 01 6c 61 73 74 55 73 |........|..lastUs|
|000041d0| 65 72 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |er......|........|
|000041e0| 00 00 32 a0 43 41 52 44 | 00 00 0b 76 00 00 00 00 |..2.CARD|...v....|
|000041f0| 00 00 0e da 40 00 00 00 | 00 00 00 00 00 00 00 00 |....@...|........|
|00004200| 00 00 10 44 00 00 0a 7c | 00 14 00 19 00 00 24 7a |...D...||......$z|
|00004210| 00 06 00 00 0d ca 02 fa | 00 01 02 05 00 3a 00 07 |........|.....:..|
|00004220| 00 de 00 d2 00 07 00 00 | 00 00 00 00 00 10 00 0c |........|........|
|00004230| 00 00 00 10 4c 69 73 74 | 00 00 6f 6e 20 6d 6f 75 |....List|..on mou|
|00004240| 73 65 55 70 0d 67 65 74 | 20 74 68 65 20 63 6c 69 |seUp.get| the cli|
|00004250| 63 6b 6c 69 6e 65 0d 70 | 75 74 20 69 74 20 69 6e |ckline.p|ut it in|
|00004260| 74 6f 20 6c 69 6e 65 4e | 75 6d 0d 67 6c 6f 62 61 |to lineN|um.globa|
|00004270| 6c 20 74 68 65 46 69 6c | 65 4e 61 6d 65 0d 73 65 |l theFil|eName.se|
|00004280| 6c 65 63 74 20 69 74 0d | 70 75 74 20 74 68 65 20 |lect it.|put the |
|00004290| 73 65 6c 65 63 74 65 64 | 54 65 78 74 20 69 6e 74 |selected|Text int|
|000042a0| 6f 20 74 6c 63 0d 70 75 | 74 20 65 6d 70 74 79 20 |o tlc.pu|t empty |
|000042b0| 69 6e 74 6f 20 63 61 72 | 64 20 66 69 65 6c 64 20 |into car|d field |
|000042c0| 73 74 61 74 73 0d 70 75 | 74 20 65 6d 70 74 79 20 |stats.pu|t empty |
|000042d0| 69 6e 74 6f 20 63 61 72 | 64 20 66 69 65 6c 64 20 |into car|d field |
|000042e0| 6e 61 6d 65 0d 69 66 20 | 74 6c 63 20 69 73 20 6e |name.if |tlc is n|
|000042f0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 0d 69 |ot empty| then..i|
|00004300| 66 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |f the hi|lite of |
|00004310| 63 61 72 64 20 62 75 74 | 74 6f 6e 20 61 70 70 6c |card but|ton appl|
|00004320| 65 73 68 61 72 65 20 69 | 73 20 74 72 75 65 20 74 |eshare i|s true t|
|00004330| 68 65 6e 0d 0d 70 75 74 | 20 63 61 72 64 20 66 69 |hen..put| card fi|
|00004340| 65 6c 64 20 64 69 72 65 | 63 74 6f 72 79 20 26 20 |eld dire|ctory & |
|00004350| 74 6c 63 20 69 6e 74 6f | 20 74 68 65 46 69 6c 65 |tlc into| theFile|
|00004360| 4e 61 6d 65 0d 67 65 74 | 20 70 72 65 76 69 65 77 |Name.get| preview|
|00004370| 28 74 68 65 46 69 6c 65 | 4e 61 6d 65 29 0d 70 75 |(theFile|Name).pu|
|00004380| 74 20 69 74 20 69 6e 74 | 6f 20 74 68 65 52 65 73 |t it int|o theRes|
|00004390| 75 6c 74 0d 69 66 20 74 | 68 65 52 65 73 75 6c 74 |ult.if t|heResult|
|000043a0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 | is empt|y then.p|
|000043b0| 75 74 20 69 74 20 69 6e | 74 6f 20 63 61 72 64 20 |ut it in|to card |
|000043c0| 66 69 65 6c 64 20 6e 61 | 6d 65 0d 70 75 74 20 74 |field na|me.put t|
|000043d0| 6c 63 20 69 6e 74 6f 20 | 63 61 72 64 20 66 69 65 |lc into |card fie|
|000043e0| 6c 64 20 6e 61 6d 65 0d | 65 6c 73 65 0d 61 6e 73 |ld name.|else.ans|
|000043f0| 77 65 72 20 74 68 65 52 | 65 73 75 6c 74 0d 65 6e |wer theR|esult.en|
|00004400| 64 20 69 66 0d 0d 65 6c | 73 65 0d 69 66 20 74 68 |d if..el|se.if th|
|00004410| 65 20 74 65 78 74 73 74 | 79 6c 65 20 6f 66 20 6c |e textst|yle of l|
|00004420| 69 6e 65 4e 75 6d 20 69 | 73 20 70 6c 61 69 6e 20 |ineNum i|s plain |
|00004430| 74 68 65 6e 0d 70 75 74 | 20 74 6c 63 20 69 6e 74 |then.put| tlc int|
|00004440| 6f 20 74 68 65 46 69 6c | 65 4e 61 6d 65 0d 67 65 |o theFil|eName.ge|
|00004450| 74 20 70 72 65 76 69 65 | 77 46 54 50 28 74 68 65 |t previe|wFTP(the|
|00004460| 46 69 6c 65 4e 61 6d 65 | 29 0d 70 75 74 20 69 74 |FileName|).put it|
|00004470| 20 69 6e 74 6f 20 74 68 | 65 52 65 73 75 6c 74 0d | into th|eResult.|
|00004480| 69 66 20 74 68 65 52 65 | 73 75 6c 74 20 69 73 20 |if theRe|sult is |
|00004490| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 74 |empty th|en.put t|
|000044a0| 6c 63 20 69 6e 74 6f 20 | 63 61 72 64 20 66 69 65 |lc into |card fie|
|000044b0| 6c 64 20 6e 61 6d 65 0d | 65 6c 73 65 0d 61 6e 73 |ld name.|else.ans|
|000044c0| 77 65 72 20 74 68 65 52 | 65 73 75 6c 74 0d 65 6e |wer theR|esult.en|
|000044d0| 64 20 69 66 0d 65 6c 73 | 65 0d 67 65 74 20 63 68 |d if.els|e.get ch|
|000044e0| 61 6e 67 65 44 69 72 28 | 74 6c 63 29 0d 65 6e 64 |angeDir(|tlc).end|
|000044f0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | if.end |if.end i|
|00004500| 66 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 0d 0d 00 |f.end mo|useUp...|
|00004510| 00 28 00 02 02 05 00 df | 00 07 01 23 01 eb 00 07 |.(......|...#....|
|00004520| 00 00 00 00 00 00 00 10 | 00 0a 00 00 00 0d 43 61 |........|......Ca|
|00004530| 70 74 69 6f 6e 00 00 00 | 00 2a 00 03 01 00 00 3f |ption...|.*.....?|
|00004540| 00 db 00 c7 01 76 00 01 | 00 00 00 00 00 01 00 00 |.....v..|........|
|00004550| 00 0c 00 00 00 10 74 68 | 75 6d 62 6e 61 69 6c 00 |......th|umbnail.|
|00004560| 00 00 0d 88 00 05 01 00 | 00 47 01 8b 00 5c 01 ed |........|.G...\..|
|00004570| a0 03 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00004580| 44 6f 77 6e 6c 6f 61 64 | 00 00 6f 6e 20 6d 6f 75 |Download|..on mou|
|00004590| 73 65 55 70 0d 67 6c 6f | 62 61 6c 20 74 68 65 46 |seUp.glo|bal theF|
|000045a0| 69 6c 65 4e 61 6d 65 0d | 67 6c 6f 62 61 6c 20 74 |ileName.|global t|
|000045b0| 68 65 57 69 64 74 68 0d | 67 6c 6f 62 61 6c 20 74 |heWidth.|global t|
|000045c0| 68 65 48 65 69 67 68 74 | 0d 67 6c 6f 62 61 6c 20 |heHeight|.global |
|000045d0| 74 68 65 43 6f 6c 6f 72 | 0d 67 6c 6f 62 61 6c 20 |theColor|.global |
|000045e0| 69 73 55 55 65 64 0d 0d | 0d 70 75 74 20 22 49 6d |isUUed..|.put "Im|
|000045f0| 61 67 65 42 72 6f 77 73 | 65 72 54 65 6d 70 46 69 |ageBrows|erTempFi|
|00004600| 6c 65 22 20 69 6e 74 6f | 20 74 65 6d 70 46 69 6c |le" into| tempFil|
|00004610| 65 4e 61 6d 65 0d 70 75 | 74 20 22 49 6d 61 67 65 |eName.pu|t "Image|
|00004620| 42 72 6f 77 73 65 72 54 | 65 6d 70 46 69 6c 65 2e |BrowserT|empFile.|
|00004630| 55 55 22 20 69 6e 74 6f | 20 74 65 6d 70 46 69 6c |UU" into| tempFil|
|00004640| 65 4e 61 6d 65 55 55 0d | 0d 69 66 20 74 68 65 46 |eNameUU.|.if theF|
|00004650| 69 6c 65 4e 61 6d 65 20 | 69 73 20 6e 6f 74 20 65 |ileName |is not e|
|00004660| 6d 70 74 79 20 74 68 65 | 6e 0d 67 65 74 20 45 78 |mpty the|n.get Ex|
|00004670| 74 72 61 63 74 46 69 6c | 65 4e 61 6d 65 28 74 68 |tractFil|eName(th|
|00004680| 65 46 69 6c 65 4e 61 6d | 65 29 0d 70 75 74 20 69 |eFileNam|e).put i|
|00004690| 74 20 69 6e 74 6f 20 74 | 68 65 53 68 6f 72 74 4e |t into t|heShortN|
|000046a0| 61 6d 65 0d 61 73 6b 20 | 66 69 6c 65 20 22 53 61 |ame.ask |file "Sa|
|000046b0| 76 65 20 61 73 22 20 77 | 69 74 68 20 74 68 65 53 |ve as" w|ith theS|
|000046c0| 68 6f 72 74 4e 61 6d 65 | 20 26 26 20 22 50 49 43 |hortName| && "PIC|
|000046d0| 54 22 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6e |T".put i|t into n|
|000046e0| 65 77 46 69 6c 65 4e 61 | 6d 65 0d 69 66 20 6e 65 |ewFileNa|me.if ne|
|000046f0| 77 46 69 6c 65 4e 61 6d | 65 20 69 73 20 6e 6f 74 |wFileNam|e is not|
|00004700| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 0d 70 75 74 | empty t|hen..put|
|00004710| 20 6e 65 77 46 69 6c 65 | 4e 61 6d 65 20 69 6e 74 | newFile|Name int|
|00004720| 6f 20 77 69 6e 64 6f 77 | 4e 61 6d 65 0d 69 66 20 |o window|Name.if |
|00004730| 74 68 65 46 69 6c 65 4e | 61 6d 65 20 69 73 20 6e |theFileN|ame is n|
|00004740| 6f 74 20 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 0d |ot empt|y then..|
|00004750| 70 75 74 20 64 6f 77 6e | 6c 6f 61 64 69 6e 67 20 |put down|loading |
|00004760| 26 26 20 71 75 6f 74 65 | 20 26 20 74 68 65 53 68 |&& quote| & theSh|
|00004770| 6f 72 74 4e 61 6d 65 20 | 26 20 71 75 6f 74 65 20 |ortName |& quote |
|00004780| 26 26 20 61 73 20 26 26 | 20 71 75 6f 74 65 20 26 |&& as &&| quote &|
|00004790| 20 6e 65 77 46 69 6c 65 | 4e 61 6d 65 20 26 20 71 | newFile|Name & q|
|000047a0| 75 6f 74 65 20 69 6e 74 | 6f 20 63 61 72 64 20 66 |uote int|o card f|
|000047b0| 69 65 6c 64 20 73 74 61 | 74 75 73 0d 0d 2d 2d 20 |ield sta|tus..-- |
|000047c0| 63 6f 6e 76 65 72 74 20 | 74 68 65 20 6a 66 69 66 |convert |the jfif|
|000047d0| 20 66 69 6c 65 20 74 6f | 20 70 69 63 74 20 66 69 | file to| pict fi|
|000047e0| 6c 65 0d 0d 69 66 20 74 | 68 65 20 68 69 6c 69 74 |le..if t|he hilit|
|000047f0| 65 20 6f 66 20 63 61 72 | 64 20 62 75 74 74 6f 6e |e of car|d button|
|00004800| 20 66 74 70 20 69 73 20 | 74 72 75 65 20 74 68 65 | ftp is |true the|
|00004810| 6e 0d 69 66 20 69 73 55 | 55 65 64 20 69 73 20 74 |n.if isU|Ued is t|
|00004820| 72 75 65 20 74 68 65 6e | 0d 73 65 74 20 63 75 72 |rue then|.set cur|
|00004830| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 72 65 63 65 |sor to b|usy.rece|
|00004840| 69 76 65 46 69 6c 65 20 | 74 68 65 53 68 6f 72 74 |iveFile |theShort|
|00004850| 4e 61 6d 65 2c 74 65 6d | 70 46 69 6c 65 4e 61 6d |Name,tem|pFileNam|
|00004860| 65 55 55 2c 22 41 22 0d | 73 65 74 20 63 75 72 73 |eUU,"A".|set curs|
|00004870| 6f 72 20 74 6f 20 62 75 | 73 79 0d 75 75 64 65 63 |or to bu|sy.uudec|
|00004880| 6f 64 65 20 74 65 6d 70 | 46 69 6c 65 4e 61 6d 65 |ode temp|FileName|
|00004890| 55 55 2c 74 65 6d 70 46 | 69 6c 65 4e 61 6d 65 2c |UU,tempF|ileName,|
|000048a0| 4a 46 49 46 2c 70 70 78 | 69 2c 74 72 75 65 0d 0d |JFIF,ppx|i,true..|
|000048b0| 70 75 74 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |put the |result i|
|000048c0| 6e 74 6f 20 74 68 65 52 | 65 73 75 6c 74 0d 69 66 |nto theR|esult.if|
|000048d0| 20 74 68 65 52 65 73 75 | 6c 74 20 69 73 20 65 6d | theResu|lt is em|
|000048e0| 70 74 79 20 74 68 65 6e | 0d 6a 66 69 66 74 6f 70 |pty then|.jfiftop|
|000048f0| 69 63 74 20 74 65 6d 70 | 46 69 6c 65 4e 61 6d 65 |ict temp|FileName|
|00004900| 2c 46 69 6c 65 2c 6e 65 | 77 46 69 6c 65 4e 61 6d |,File,ne|wFileNam|
|00004910| 65 2c 74 72 75 65 0d 70 | 75 74 20 74 68 65 20 72 |e,true.p|ut the r|
|00004920| 65 73 75 6c 74 20 69 6e | 74 6f 20 74 68 65 52 65 |esult in|to theRe|
|00004930| 73 75 6c 74 0d 65 6e 64 | 20 69 66 0d 0d 65 6c 73 |sult.end| if..els|
|00004940| 65 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |e.set cu|rsor to |
|00004950| 62 75 73 79 0d 72 65 63 | 65 69 76 65 46 69 6c 65 |busy.rec|eiveFile|
|00004960| 20 74 68 65 53 68 6f 72 | 74 4e 61 6d 65 2c 74 65 | theShor|tName,te|
|00004970| 6d 70 46 69 6c 65 4e 61 | 6d 65 2c 22 49 22 0d 73 |mpFileNa|me,"I".s|
|00004980| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00004990| 79 0d 6a 66 69 66 74 6f | 70 69 63 74 20 74 65 6d |y.jfifto|pict tem|
|000049a0| 70 46 69 6c 65 4e 61 6d | 65 2c 46 69 6c 65 2c 6e |pFileNam|e,File,n|
|000049b0| 65 77 46 69 6c 65 4e 61 | 6d 65 2c 74 72 75 65 0d |ewFileNa|me,true.|
|000049c0| 70 75 74 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |put the |result i|
|000049d0| 6e 74 6f 20 74 68 65 52 | 65 73 75 6c 74 0d 65 6e |nto theR|esult.en|
|000049e0| 64 20 69 66 0d 0d 65 6c | 73 65 0d 69 66 20 69 73 |d if..el|se.if is|
|000049f0| 55 55 65 64 20 69 73 20 | 74 72 75 65 20 74 68 65 |UUed is |true the|
|00004a00| 6e 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |n.set cu|rsor to |
|00004a10| 62 75 73 79 0d 75 75 64 | 65 63 6f 64 65 20 74 68 |busy.uud|ecode th|
|00004a20| 65 46 69 6c 65 4e 61 6d | 65 2c 74 65 6d 70 46 69 |eFileNam|e,tempFi|
|00004a30| 6c 65 4e 61 6d 65 2c 4a | 46 49 46 2c 70 70 78 69 |leName,J|FIF,ppxi|
|00004a40| 2c 74 72 75 65 0d 70 75 | 74 20 74 68 65 20 72 65 |,true.pu|t the re|
|00004a50| 73 75 6c 74 20 69 6e 74 | 6f 20 74 68 65 52 65 73 |sult int|o theRes|
|00004a60| 75 6c 74 0d 69 66 20 74 | 68 65 52 65 73 75 6c 74 |ult.if t|heResult|
|00004a70| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 6a | is empt|y then.j|
|00004a80| 66 69 66 74 6f 70 69 63 | 74 20 74 65 6d 70 46 69 |fiftopic|t tempFi|
|00004a90| 6c 65 4e 61 6d 65 2c 46 | 69 6c 65 2c 6e 65 77 46 |leName,F|ile,newF|
|00004aa0| 69 6c 65 4e 61 6d 65 0d | 70 75 74 20 74 68 65 20 |ileName.|put the |
|00004ab0| 72 65 73 75 6c 74 20 69 | 6e 74 6f 20 74 68 65 52 |result i|nto theR|
|00004ac0| 65 73 75 6c 74 0d 65 6e | 64 20 69 66 0d 70 75 74 |esult.en|d if.put|
|00004ad0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 6e 74 6f | the res|ult into|
|00004ae0| 20 74 68 65 52 65 73 75 | 6c 74 0d 65 6c 73 65 0d | theResu|lt.else.|
|00004af0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00004b00| 73 79 0d 6a 66 69 66 74 | 6f 70 69 63 74 20 74 68 |sy.jfift|opict th|
|00004b10| 65 46 69 6c 65 4e 61 6d | 65 2c 46 69 6c 65 2c 6e |eFileNam|e,File,n|
|00004b20| 65 77 46 69 6c 65 4e 61 | 6d 65 0d 70 75 74 20 74 |ewFileNa|me.put t|
|00004b30| 68 65 20 72 65 73 75 6c | 74 20 69 6e 74 6f 20 74 |he resul|t into t|
|00004b40| 68 65 52 65 73 75 6c 74 | 0d 65 6e 64 20 69 66 0d |heResult|.end if.|
|00004b50| 0d 65 6e 64 20 69 66 0d | 0d 0d 69 66 20 74 68 65 |.end if.|..if the|
|00004b60| 52 65 73 75 6c 74 20 69 | 73 20 6e 6f 74 20 65 6d |Result i|s not em|
|00004b70| 70 74 79 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |pty then|.answer |
|00004b80| 74 68 65 52 65 73 75 6c | 74 0d 65 6e 64 20 69 66 |theResul|t.end if|
|00004b90| 0d 0d 69 66 20 74 68 65 | 52 65 73 75 6c 74 20 69 |..if the|Result i|
|00004ba0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 0d 61 6e |s empty |then..an|
|00004bb0| 73 77 65 72 20 22 44 6f | 20 79 6f 75 20 77 61 6e |swer "Do| you wan|
|00004bc0| 74 20 74 6f 20 6c 6f 6f | 6b 20 61 74 20 69 74 20 |t to loo|k at it |
|00004bd0| 6e 6f 77 3f 22 20 77 69 | 74 68 20 22 79 65 73 22 |now?" wi|th "yes"|
|00004be0| 20 6f 72 20 22 6e 6f 22 | 0d 69 66 20 69 74 20 3d | or "no"|.if it =|
|00004bf0| 20 79 65 73 20 74 68 65 | 6e 0d 0d 2d 2d 20 64 69 | yes the|n..-- di|
|00004c00| 73 70 6c 61 79 20 74 68 | 65 20 70 69 63 74 20 72 |splay th|e pict r|
|00004c10| 65 73 6f 75 72 63 65 0d | 0d 67 65 74 20 20 65 78 |esource.|.get ex|
|00004c20| 74 72 61 63 74 46 69 6c | 65 4e 61 6d 65 28 6e 65 |tractFil|eName(ne|
|00004c30| 77 46 69 6c 65 4e 61 6d | 65 29 0d 70 75 74 20 69 |wFileNam|e).put i|
|00004c40| 74 20 69 6e 74 6f 20 6e | 65 77 46 69 6c 65 4e 61 |t into n|ewFileNa|
|00004c50| 6d 65 0d 0d 70 75 74 20 | 6e 65 77 46 69 6c 65 4e |me..put |newFileN|
|00004c60| 61 6d 65 20 69 6e 74 6f | 20 77 69 6e 64 6f 77 6e |ame into| windown|
|00004c70| 61 6d 65 0d 70 75 74 20 | 64 69 73 70 6c 61 79 69 |ame.put |displayi|
|00004c80| 6e 67 20 26 26 20 71 75 | 6f 74 65 20 26 20 6e 65 |ng && qu|ote & ne|
|00004c90| 77 46 69 6c 65 4e 61 6d | 65 20 26 20 71 75 6f 74 |wFileNam|e & quot|
|00004ca0| 65 20 69 6e 74 6f 20 63 | 61 72 64 20 66 69 65 6c |e into c|ard fiel|
|00004cb0| 64 20 73 74 61 74 75 73 | 0d 73 65 74 20 63 75 72 |d status|.set cur|
|00004cc0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 70 69 63 74 |sor to b|usy.pict|
|00004cd0| 75 72 65 20 6e 65 77 46 | 69 6c 65 4e 61 6d 65 2c |ure newF|ileName,|
|00004ce0| 46 69 6c 65 2c 70 6c 61 | 69 6e 2c 66 61 6c 73 65 |File,pla|in,false|
|00004cf0| 2c 30 0d 0d 0d 69 66 20 | 74 68 65 20 72 65 73 75 |,0...if |the resu|
|00004d00| 6c 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |lt is no|t empty |
|00004d10| 20 74 68 65 6e 0d 69 66 | 20 20 74 68 65 20 72 65 | then.if| the re|
|00004d20| 73 75 6c 74 20 69 73 20 | 6e 6f 74 20 22 43 61 6e |sult is |not "Can|
|00004d30| 63 65 6c 22 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |cel" the|n.answer|
|00004d40| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 65 6e 64 20 | the res|ult.end |
|00004d50| 69 66 0d 0d 0d 65 6c 73 | 65 0d 70 75 74 20 74 68 |if...els|e.put th|
|00004d60| 65 57 69 64 74 68 20 69 | 6e 74 6f 20 77 77 0d 69 |eWidth i|nto ww.i|
|00004d70| 66 20 77 77 20 3d 20 30 | 20 74 68 65 6e 20 70 75 |f ww = 0| then pu|
|00004d80| 74 20 36 34 30 20 69 6e | 74 6f 20 77 77 0d 70 75 |t 640 in|to ww.pu|
|00004d90| 74 20 74 68 65 48 65 69 | 67 68 74 20 69 6e 74 6f |t theHei|ght into|
|00004da0| 20 77 68 0d 69 66 20 77 | 68 20 3d 20 30 20 74 68 | wh.if w|h = 0 th|
|00004db0| 65 6e 20 70 75 74 20 34 | 38 30 20 69 6e 74 6f 20 |en put 4|80 into |
|00004dc0| 77 68 0d 69 66 20 77 77 | 20 3c 20 33 32 30 20 61 |wh.if ww| < 320 a|
|00004dd0| 6e 64 20 77 68 20 3c 20 | 32 34 30 20 74 68 65 6e |nd wh < |240 then|
|00004de0| 0d 69 66 20 77 77 20 3c | 20 31 36 30 20 61 6e 64 |.if ww <| 160 and|
|00004df0| 20 77 68 20 3c 20 31 32 | 30 20 74 68 65 6e 0d 70 | wh < 12|0 then.p|
|00004e00| 75 74 20 77 69 6e 64 6f | 77 4e 61 6d 65 20 26 20 |ut windo|wName & |
|00004e10| 22 28 33 3a 31 29 22 20 | 69 6e 74 6f 20 74 68 65 |"(3:1)" |into the|
|00004e20| 4e 65 77 77 69 6e 64 6f | 77 4e 61 6d 65 0d 70 75 |Newwindo|wName.pu|
|00004e30| 74 20 22 73 68 6f 77 6e | 20 61 74 20 71 75 61 64 |t "shown| at quad|
|00004e40| 72 75 70 6c 65 20 73 69 | 7a 65 22 20 61 66 74 65 |ruple si|ze" afte|
|00004e50| 72 20 6c 69 6e 65 20 31 | 20 6f 66 20 63 61 72 64 |r line 1| of card|
|00004e60| 20 66 69 65 6c 64 20 73 | 74 61 74 75 73 0d 73 65 | field s|tatus.se|
|00004e70| 74 20 73 63 61 6c 65 20 | 6f 66 20 77 69 6e 64 6f |t scale |of windo|
|00004e80| 77 20 77 69 6e 64 6f 77 | 4e 61 6d 65 20 74 6f 20 |w window|Name to |
|00004e90| 32 0d 70 75 74 20 77 77 | 20 2a 20 33 20 69 6e 74 |2.put ww| * 3 int|
|00004ea0| 6f 20 77 77 0d 70 75 74 | 20 77 68 20 2a 20 33 20 |o ww.put| wh * 3 |
|00004eb0| 69 6e 74 6f 20 77 68 0d | 65 6c 73 65 0d 70 75 74 |into wh.|else.put|
|00004ec0| 20 77 69 6e 64 6f 77 4e | 61 6d 65 20 26 20 22 28 | windowN|ame & "(|
|00004ed0| 32 3a 31 29 22 20 69 6e | 74 6f 20 74 68 65 4e 65 |2:1)" in|to theNe|
|00004ee0| 77 77 69 6e 64 6f 77 4e | 61 6d 65 0d 70 75 74 20 |wwindowN|ame.put |
|00004ef0| 22 73 68 6f 77 6e 20 61 | 74 20 64 6f 75 62 6c 65 |"shown a|t double|
|00004f00| 20 73 69 7a 65 22 20 61 | 66 74 65 72 20 6c 69 6e | size" a|fter lin|
|00004f10| 65 20 31 20 6f 66 20 63 | 61 72 64 20 66 69 65 6c |e 1 of c|ard fiel|
|00004f20| 64 20 73 74 61 74 75 73 | 0d 73 65 74 20 73 63 61 |d status|.set sca|
|00004f30| 6c 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 77 69 6e |le of wi|ndow win|
|00004f40| 64 6f 77 4e 61 6d 65 20 | 74 6f 20 31 0d 70 75 74 |dowName |to 1.put|
|00004f50| 20 77 77 20 2a 20 32 20 | 69 6e 74 6f 20 77 77 0d | ww * 2 |into ww.|
|00004f60| 70 75 74 20 77 68 20 2a | 20 32 20 69 6e 74 6f 20 |put wh *| 2 into |
|00004f70| 77 68 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 20 69 |wh.end i|f.else i|
|00004f80| 66 20 77 77 20 3e 20 36 | 34 30 20 6f 72 20 77 68 |f ww > 6|40 or wh|
|00004f90| 20 3e 20 34 38 30 20 74 | 68 65 6e 0d 69 66 20 77 | > 480 t|hen.if w|
|00004fa0| 77 20 3e 20 31 32 38 30 | 20 6f 72 20 77 68 20 3e |w > 1280| or wh >|
|00004fb0| 20 39 36 30 20 74 68 65 | 6e 0d 70 75 74 20 77 69 | 960 the|n.put wi|
|00004fc0| 6e 64 6f 77 4e 61 6d 65 | 20 26 20 22 28 31 3a 33 |ndowName| & "(1:3|
|00004fd0| 29 22 20 69 6e 74 6f 20 | 74 68 65 4e 65 77 77 69 |)" into |theNewwi|
|00004fe0| 6e 64 6f 77 4e 61 6d 65 | 0d 70 75 74 20 22 73 68 |ndowName|.put "sh|
|00004ff0| 6f 77 6e 20 61 74 20 6f | 6e 65 20 71 75 61 72 74 |own at o|ne quart|
|00005000| 65 72 20 73 69 7a 65 22 | 20 61 66 74 65 72 20 6c |er size"| after l|
|00005010| 69 6e 65 20 31 20 6f 66 | 20 63 61 72 64 20 66 69 |ine 1 of| card fi|
|00005020| 65 6c 64 20 73 74 61 74 | 75 73 0d 70 75 74 20 77 |eld stat|us.put w|
|00005030| 77 20 64 69 76 20 33 20 | 69 6e 74 6f 20 77 77 0d |w div 3 |into ww.|
|00005040| 70 75 74 20 77 68 20 64 | 69 76 20 33 20 69 6e 74 |put wh d|iv 3 int|
|00005050| 6f 20 77 68 0d 73 65 74 | 20 73 63 61 6c 65 20 6f |o wh.set| scale o|
|00005060| 66 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 4e |f window| windowN|
|00005070| 61 6d 65 20 74 6f 20 2d | 32 0d 65 6c 73 65 0d 70 |ame to -|2.else.p|
|00005080| 75 74 20 77 69 6e 64 6f | 77 4e 61 6d 65 20 26 20 |ut windo|wName & |
|00005090| 22 28 31 3a 32 29 22 20 | 69 6e 74 6f 20 74 68 65 |"(1:2)" |into the|
|000050a0| 4e 65 77 77 69 6e 64 6f | 77 4e 61 6d 65 0d 70 75 |Newwindo|wName.pu|
|000050b0| 74 20 22 73 68 6f 77 6e | 20 61 74 20 68 61 6c 66 |t "shown| at half|
|000050c0| 20 73 69 7a 65 22 20 61 | 66 74 65 72 20 6c 69 6e | size" a|fter lin|
|000050d0| 65 20 31 20 6f 66 20 63 | 61 72 64 20 66 69 65 6c |e 1 of c|ard fiel|
|000050e0| 64 20 73 74 61 74 75 73 | 0d 70 75 74 20 77 77 20 |d status|.put ww |
|000050f0| 64 69 76 20 32 20 69 6e | 74 6f 20 77 77 0d 70 75 |div 2 in|to ww.pu|
|00005100| 74 20 77 68 20 64 69 76 | 20 32 20 69 6e 74 6f 20 |t wh div| 2 into |
|00005110| 77 68 0d 73 65 74 20 73 | 63 61 6c 65 20 6f 66 20 |wh.set s|cale of |
|00005120| 77 69 6e 64 6f 77 20 77 | 69 6e 64 6f 77 4e 61 6d |window w|indowNam|
|00005130| 65 20 74 6f 20 2d 31 0d | 65 6e 64 20 69 66 0d 65 |e to -1.|end if.e|
|00005140| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 57 69 64 74 |nd if.if| theWidt|
|00005150| 68 20 3c 3e 20 30 20 61 | 6e 64 20 74 68 65 48 65 |h <> 0 a|nd theHe|
|00005160| 69 67 68 74 20 3c 3e 20 | 30 20 74 68 65 6e 0d 70 |ight <> |0 then.p|
|00005170| 75 74 20 20 22 30 2c 30 | 2c 22 20 26 20 77 77 20 |ut "0,0|," & ww |
|00005180| 26 20 22 2c 22 20 26 20 | 77 68 20 69 6e 74 6f 20 |& "," & |wh into |
|00005190| 77 72 65 63 74 0d 73 65 | 74 20 72 65 63 74 20 6f |wrect.se|t rect o|
|000051a0| 66 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 4e |f window| windowN|
|000051b0| 61 6d 65 20 74 6f 20 77 | 72 65 63 74 0d 65 6e 64 |ame to w|rect.end|
|000051c0| 20 69 66 0d 73 65 74 20 | 67 6c 6f 62 61 6c 6c 6f | if.set |globallo|
|000051d0| 63 20 6f 66 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |c of win|dow wind|
|000051e0| 6f 77 6e 61 6d 65 20 74 | 6f 20 64 65 65 70 65 73 |owname t|o deepes|
|000051f0| 74 0d 2d 2d 73 65 74 20 | 64 69 74 68 65 72 20 6f |t.--set |dither o|
|00005200| 66 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 4e |f window| windowN|
|00005210| 61 6d 65 20 74 6f 20 74 | 72 75 65 0d 73 65 74 20 |ame to t|rue.set |
|00005220| 76 69 73 69 62 6c 65 20 | 6f 66 20 77 69 6e 64 6f |visible |of windo|
|00005230| 77 20 77 69 6e 64 6f 77 | 4e 61 6d 65 20 74 6f 20 |w window|Name to |
|00005240| 74 72 75 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |true.end| if.end |
|00005250| 69 66 0d 65 6e 64 20 69 | 66 0d 0d 65 6e 64 20 69 |if.end i|f..end i|
|00005260| 66 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |f.put em|pty into|
|00005270| 20 63 61 72 64 20 66 69 | 65 6c 64 20 73 74 61 74 | card fi|eld stat|
|00005280| 75 73 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 61 |us.end i|f.else.a|
|00005290| 6e 73 77 65 72 20 22 50 | 6c 65 61 73 65 20 73 65 |nswer "P|lease se|
|000052a0| 6c 65 63 74 20 61 20 66 | 69 6c 65 20 74 6f 20 64 |lect a f|ile to d|
|000052b0| 6f 77 6e 6c 6f 61 64 20 | 66 72 6f 6d 20 74 68 65 |ownload |from the|
|000052c0| 20 6c 69 73 74 20 6f 6e | 20 74 68 65 20 6c 65 66 | list on| the lef|
|000052d0| 74 2e 22 0d 65 6e 64 20 | 69 66 0d 0d 0d 65 6e 64 |t.".end |if...end|
|000052e0| 20 6d 6f 75 73 65 55 70 | 00 00 07 e2 00 06 01 00 | mouseUp|........|
|000052f0| 00 04 00 07 00 1a 00 77 | a0 03 00 00 00 00 00 01 |.......w|........|
|00005300| 00 00 00 0c 00 00 00 10 | 43 6f 6e 6e 65 63 74 00 |........|Connect.|
|00005310| 00 2d 2d 20 74 68 69 73 | 20 62 75 74 74 6f 6e 20 |.-- this| button |
|00005320| 63 61 6e 20 68 61 76 65 | 20 6f 6e 65 20 6f 66 20 |can have| one of |
|00005330| 74 77 6f 20 6e 61 6d 65 | 73 20 61 6e 64 20 69 73 |two name|s and is|
|00005340| 20 73 65 74 20 62 79 20 | 74 68 65 20 62 67 20 73 | set by |the bg s|
|00005350| 63 72 69 70 74 0d 6f 6e | 20 6d 6f 75 73 65 55 70 |cript.on| mouseUp|
|00005360| 0d 69 66 20 74 68 65 20 | 68 69 6c 69 74 65 20 6f |.if the |hilite o|
|00005370| 66 20 63 61 72 64 20 62 | 75 74 74 6f 6e 20 66 74 |f card b|utton ft|
|00005380| 70 20 69 73 20 74 72 75 | 65 20 74 68 65 6e 0d 64 |p is tru|e then.d|
|00005390| 6f 20 74 68 65 20 66 69 | 72 73 74 20 77 6f 72 64 |o the fi|rst word|
|000053a0| 20 6f 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 | of the |short na|
|000053b0| 6d 65 20 6f 66 20 6d 65 | 20 2d 2d 20 22 63 6f 6e |me of me| -- "con|
|000053c0| 6e 65 63 74 22 20 6f 72 | 20 22 64 69 73 63 6f 6e |nect" or| "discon|
|000053d0| 6e 65 63 74 22 0d 65 6c | 73 65 0d 64 6f 4d 65 6e |nect".el|se.doMen|
|000053e0| 75 20 63 68 6f 6f 73 65 | 72 0d 65 6e 64 20 69 66 |u choose|r.end if|
|000053f0| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 0d 0d 2d 2d |.end mou|seUp..--|
|00005400| 20 65 73 74 61 62 6c 69 | 73 68 20 61 20 63 6f 6e | establi|sh a con|
|00005410| 6e 65 63 74 69 6f 6e 20 | 77 69 74 68 20 61 20 68 |nection |with a h|
|00005420| 6f 73 74 0d 6f 6e 20 63 | 6f 6e 6e 65 63 74 0d 67 |ost.on c|onnect.g|
|00005430| 6c 6f 62 61 6c 20 63 6f | 6e 6e 65 63 74 69 6f 6e |lobal co|nnection|
|00005440| 49 44 0d 0d 61 73 6b 20 | 22 57 68 69 63 68 20 68 |ID..ask |"Which h|
|00005450| 6f 73 74 3f 22 20 77 69 | 74 68 20 6c 69 6e 65 20 |ost?" wi|th line |
|00005460| 31 20 6f 66 20 62 67 20 | 66 69 65 6c 64 20 6c 61 |1 of bg |field la|
|00005470| 73 74 68 6f 73 74 0d 69 | 66 20 74 68 65 20 72 65 |sthost.i|f the re|
|00005480| 73 75 6c 74 20 69 73 20 | 6e 6f 74 20 22 43 61 6e |sult is |not "Can|
|00005490| 63 65 6c 22 20 74 68 65 | 6e 0d 70 75 74 20 69 74 |cel" the|n.put it|
|000054a0| 20 69 6e 74 6f 20 74 68 | 65 48 6f 73 74 0d 69 66 | into th|eHost.if|
|000054b0| 20 74 68 65 48 6f 73 74 | 20 3c 3e 20 65 6d 70 74 | theHost| <> empt|
|000054c0| 79 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 48 6f |y then.p|ut theHo|
|000054d0| 73 74 20 69 6e 74 6f 20 | 62 67 20 66 69 65 6c 64 |st into |bg field|
|000054e0| 20 6c 61 73 74 68 6f 73 | 74 0d 70 75 74 20 74 68 | lasthos|t.put th|
|000054f0| 65 48 6f 73 74 20 69 6e | 74 6f 20 62 67 20 66 6c |eHost in|to bg fl|
|00005500| 64 20 22 48 6f 73 74 20 | 4e 61 6d 65 22 0d 69 66 |d "Host |Name".if|
|00005510| 20 62 67 20 66 6c 64 20 | 22 48 6f 73 74 20 4e 61 | bg fld |"Host Na|
|00005520| 6d 65 22 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |me" is e|mpty the|
|00005530| 6e 0d 70 75 74 20 22 50 | 6c 65 61 73 65 20 65 6e |n.put "P|lease en|
|00005540| 74 65 72 20 61 20 68 6f | 73 74 20 6e 61 6d 65 20 |ter a ho|st name |
|00005550| 6f 72 20 61 64 64 72 65 | 73 73 22 20 69 6e 74 6f |or addre|ss" into|
|00005560| 20 63 61 72 64 20 66 6c | 64 20 22 73 74 61 74 75 | card fl|d "statu|
|00005570| 73 22 0d 65 78 69 74 20 | 63 6f 6e 6e 65 63 74 0d |s".exit |connect.|
|00005580| 65 6e 64 20 69 66 0d 0d | 70 75 74 20 22 46 69 6e |end if..|put "Fin|
|00005590| 64 69 6e 67 20 74 68 65 | 20 61 64 64 72 65 73 73 |ding the| address|
|000055a0| 20 66 6f 72 20 68 6f 73 | 74 20 d4 22 20 26 20 62 | for hos|t ." & b|
|000055b0| 67 20 66 6c 64 20 22 48 | 6f 73 74 20 4e 61 6d 65 |g fld "H|ost Name|
|000055c0| 22 20 26 20 22 d5 22 20 | c2 0d 69 6e 74 6f 20 63 |" & "." |..into c|
|000055d0| 61 72 64 20 66 6c 64 20 | 22 73 74 61 74 75 73 22 |ard fld |"status"|
|000055e0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|000055f0| 75 73 79 20 2d 2d 20 74 | 68 69 73 20 6d 61 79 20 |usy -- t|his may |
|00005600| 74 61 6b 65 20 61 20 77 | 68 69 6c 65 c9 0d 67 65 |take a w|hile..ge|
|00005610| 74 20 54 43 50 4e 61 6d | 65 54 6f 41 64 64 72 28 |t TCPNam|eToAddr(|
|00005620| 20 62 67 20 66 6c 64 20 | 22 48 6f 73 74 20 4e 61 | bg fld |"Host Na|
|00005630| 6d 65 22 20 29 0d 69 66 | 20 69 74 20 63 6f 6e 74 |me" ).if| it cont|
|00005640| 61 69 6e 73 20 22 a4 22 | 20 74 68 65 6e 0d 69 66 |ains "."| then.if|
|00005650| 20 69 74 20 63 6f 6e 74 | 61 69 6e 73 20 22 63 6f | it cont|ains "co|
|00005660| 75 6c 64 6e 27 74 20 6f | 70 65 6e 20 72 65 73 6f |uldn't o|pen reso|
|00005670| 75 72 63 65 22 0d 74 68 | 65 6e 20 70 75 74 20 22 |urce".th|en put "|
|00005680| 4d 61 63 54 43 50 aa 20 | 68 61 73 20 6e 6f 74 20 |MacTCP. |has not |
|00005690| 62 65 65 6e 20 69 6e 73 | 74 61 6c 6c 65 64 2e 22 |been ins|talled."|
|000056a0| 20 69 6e 74 6f 20 63 61 | 72 64 20 66 6c 64 20 22 | into ca|rd fld "|
|000056b0| 73 74 61 74 75 73 22 0d | 65 6c 73 65 20 70 75 74 |status".|else put|
|000056c0| 20 22 43 61 6e 27 74 20 | 67 65 74 20 74 68 65 20 | "Can't |get the |
|000056d0| 49 50 20 61 64 64 72 65 | 73 73 20 66 6f 72 20 d4 |IP addre|ss for .|
|000056e0| 22 20 26 20 62 67 20 66 | 6c 64 20 22 48 6f 73 74 |" & bg f|ld "Host|
|000056f0| 20 4e 61 6d 65 22 20 26 | 20 22 d5 22 20 c2 0d 69 | Name" &| "." ..i|
|00005700| 6e 74 6f 20 63 61 72 64 | 20 66 6c 64 20 22 73 74 |nto card| fld "st|
|00005710| 61 74 75 73 22 0d 65 78 | 69 74 20 63 6f 6e 6e 65 |atus".ex|it conne|
|00005720| 63 74 0d 65 6e 64 20 69 | 66 0d 0d 70 75 74 20 22 |ct.end i|f..put "|
|00005730| 4f 70 65 6e 69 6e 67 20 | 46 54 50 20 63 6f 6e 6e |Opening |FTP conn|
|00005740| 65 63 74 69 6f 6e 22 20 | 69 6e 74 6f 20 63 61 72 |ection" |into car|
|00005750| 64 20 66 6c 64 20 22 73 | 74 61 74 75 73 22 0d 70 |d fld "s|tatus".p|
|00005760| 75 74 20 54 43 50 41 63 | 74 69 76 65 4f 70 65 6e |ut TCPAc|tiveOpen|
|00005770| 28 20 69 74 65 6d 20 31 | 20 6f 66 20 69 74 2c 20 |( item 1| of it, |
|00005780| 32 31 2c 20 30 20 29 20 | 69 6e 74 6f 20 63 6f 6e |21, 0 ) |into con|
|00005790| 6e 65 63 74 69 6f 6e 49 | 44 20 2d 2d 20 32 31 20 |nectionI|D -- 21 |
|000057a0| 3d 20 66 74 70 0d 0d 69 | 66 20 63 6f 6e 6e 65 63 |= ftp..i|f connec|
|000057b0| 74 69 6f 6e 49 44 20 63 | 6f 6e 74 61 69 6e 73 20 |tionID c|ontains |
|000057c0| 22 66 61 69 6c 22 20 6f | 72 20 63 6f 6e 6e 65 63 |"fail" o|r connec|
|000057d0| 74 69 6f 6e 49 44 20 63 | 6f 6e 74 61 69 6e 73 20 |tionID c|ontains |
|000057e0| 22 a4 22 20 74 68 65 6e | 0d 70 75 74 20 63 6f 6e |"." then|.put con|
|000057f0| 6e 65 63 74 69 6f 6e 49 | 44 20 69 6e 74 6f 20 63 |nectionI|D into c|
|00005800| 61 72 64 20 66 6c 64 20 | 22 73 74 61 74 75 73 22 |ard fld |"status"|
|00005810| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00005820| 63 6f 6e 6e 65 63 74 69 | 6f 6e 49 44 0d 70 75 74 |connecti|onID.put|
|00005830| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 63 61 72 64 | empty i|nto card|
|00005840| 20 66 69 65 6c 64 20 68 | 6f 73 74 6e 61 6d 65 0d | field h|ostname.|
|00005850| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 0d 65 |end if.e|nd if..e|
|00005860| 6e 64 20 69 66 0d 70 75 | 74 20 65 6d 70 74 79 20 |nd if.pu|t empty |
|00005870| 69 6e 74 6f 20 63 61 72 | 64 20 66 6c 64 20 22 73 |into car|d fld "s|
|00005880| 74 61 74 75 73 22 0d 65 | 6e 64 20 63 6f 6e 6e 65 |tatus".e|nd conne|
|00005890| 63 74 0d 0d 2d 2d 20 43 | 6c 6f 73 65 20 74 68 65 |ct..-- C|lose the|
|000058a0| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 69 6f 6e 20 63 | communi|cation c|
|000058b0| 6f 6e 6e 65 63 74 69 6f | 6e 0d 6f 6e 20 64 69 73 |onnectio|n.on dis|
|000058c0| 63 6f 6e 6e 65 63 74 0d | 67 6c 6f 62 61 6c 20 63 |connect.|global c|
|000058d0| 6f 6e 6e 65 63 74 69 6f | 6e 49 44 0d 0d 63 6c 6f |onnectio|nID..clo|
|000058e0| 73 65 44 61 74 61 0d 70 | 75 74 20 65 6d 70 74 79 |seData.p|ut empty|
|000058f0| 20 69 6e 74 6f 20 63 61 | 72 64 20 66 69 65 6c 64 | into ca|rd field|
|00005900| 20 68 6f 73 74 6e 61 6d | 65 0d 70 75 74 20 65 6d | hostnam|e.put em|
|00005910| 70 74 79 20 69 6e 74 6f | 20 63 61 72 64 20 66 69 |pty into| card fi|
|00005920| 65 6c 64 20 64 69 72 65 | 63 74 6f 72 79 0d 70 75 |eld dire|ctory.pu|
|00005930| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 63 61 72 |t empty |into car|
|00005940| 64 20 66 69 65 6c 64 20 | 6c 69 73 74 0d 70 75 74 |d field |list.put|
|00005950| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 63 61 72 64 | empty i|nto card|
|00005960| 20 66 69 65 6c 64 20 6e | 61 6d 65 0d 70 75 74 20 | field n|ame.put |
|00005970| 65 6d 70 74 79 20 69 6e | 74 6f 20 63 61 72 64 20 |empty in|to card |
|00005980| 66 69 65 6c 64 20 73 74 | 61 74 73 0d 70 75 74 20 |field st|ats.put |
|00005990| 65 6d 70 74 79 20 69 6e | 74 6f 20 63 61 72 64 20 |empty in|to card |
|000059a0| 66 69 65 6c 64 20 63 61 | 70 74 69 6f 6e 0d 69 66 |field ca|ption.if|
|000059b0| 20 62 67 20 66 6c 64 20 | 22 53 74 61 74 65 22 20 | bg fld |"State" |
|000059c0| 69 73 20 22 65 73 74 61 | 62 6c 69 73 68 65 64 22 |is "esta|blished"|
|000059d0| 20 74 68 65 6e 0d 73 65 | 6e 64 4c 69 6e 65 20 22 | then.se|ndLine "|
|000059e0| 51 55 49 54 22 20 2d 2d | 20 62 65 20 6e 69 63 65 |QUIT" --| be nice|
|000059f0| 20 61 6e 64 20 73 65 6e | 64 20 61 20 71 75 69 74 | and sen|d a quit|
|00005a00| 20 63 6d 64 20 74 6f 20 | 74 68 65 20 68 6f 73 74 | cmd to |the host|
|00005a10| 0d 69 66 20 67 65 74 4c | 69 6e 65 28 29 20 69 73 |.if getL|ine() is|
|00005a20| 20 6e 6f 74 20 65 6d 70 | 74 79 20 74 68 65 6e 20 | not emp|ty then |
|00005a30| 65 78 69 74 20 64 69 73 | 63 6f 6e 6e 65 63 74 20 |exit dis|connect |
|00005a40| 2d 2d 20 77 61 69 74 20 | 66 6f 72 20 63 6c 6f 73 |-- wait |for clos|
|00005a50| 65 0d 65 6e 64 20 69 66 | 0d 73 65 74 20 74 68 65 |e.end if|.set the|
|00005a60| 20 6e 61 6d 65 20 6f 66 | 20 6d 65 20 74 6f 20 22 | name of| me to "|
|00005a70| 43 6f 6e 6e 65 63 74 22 | 0d 54 43 50 43 6c 6f 73 |Connect"|.TCPClos|
|00005a80| 65 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 49 44 20 2d |e connec|tionID -|
|00005a90| 2d 20 73 6f 6d 65 74 68 | 69 6e 67 20 6d 75 73 74 |- someth|ing must|
|00005aa0| 20 62 65 20 77 72 6f 6e | 67 20 73 6f 20 6a 75 73 | be wron|g so jus|
|00005ab0| 74 20 63 6c 6f 73 65 20 | 69 74 0d 65 6e 64 20 64 |t close |it.end d|
|00005ac0| 69 73 63 6f 6e 6e 65 63 | 74 0d 0d 00 00 26 00 08 |isconnec|t....&..|
|00005ad0| 02 05 01 25 00 d7 01 35 | 01 eb 00 02 00 00 00 00 |...%...5|........|
|00005ae0| 00 01 00 10 00 0c 01 00 | 00 10 73 74 61 74 73 00 |........|..stats.|
|00005af0| 00 00 03 a0 00 09 01 00 | 00 1f 00 06 00 34 00 6c |........|.....4.l|
|00005b00| a0 03 00 00 00 00 00 01 | 00 00 00 0c 00 00 00 10 |........|........|
|00005b10| 53 65 74 20 44 69 72 65 | 63 74 6f 72 79 00 00 6f |Set Dire|ctory..o|
|00005b20| 6e 20 6d 6f 75 73 65 55 | 70 0d 69 66 20 74 68 65 |n mouseU|p.if the|
|00005b30| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 61 72 64 20 | hilite |of card |
|00005b40| 62 75 74 74 6f 6e 20 61 | 70 70 6c 65 73 68 61 72 |button a|ppleshar|
|00005b50| 65 20 69 73 20 74 72 75 | 65 20 74 68 65 6e 0d 0d |e is tru|e then..|
|00005b60| 61 6e 73 77 65 72 20 66 | 69 6c 65 20 22 70 69 63 |answer f|ile "pic|
|00005b70| 6b 20 61 20 66 69 6c 65 | 20 74 6f 20 73 65 74 20 |k a file| to set |
|00005b80| 74 68 65 20 66 6f 6c 64 | 65 72 3a 22 20 6f 66 20 |the fold|er:" of |
|00005b90| 74 79 70 65 20 4a 50 45 | 47 20 6f 72 20 4a 46 49 |type JPE|G or JFI|
|00005ba0| 46 20 6f 72 20 54 45 58 | 54 0d 70 75 74 20 4a 50 |F or TEX|T.put JP|
|00005bb0| 45 47 20 69 6e 74 6f 20 | 74 79 70 65 31 0d 70 75 |EG into |type1.pu|
|00005bc0| 74 20 4a 46 49 46 20 69 | 6e 74 6f 20 74 79 70 65 |t JFIF i|nto type|
|00005bd0| 32 0d 70 75 74 20 54 45 | 58 54 20 69 6e 74 6f 20 |2.put TE|XT into |
|00005be0| 74 79 70 65 33 0d 70 75 | 74 20 69 74 20 69 6e 74 |type3.pu|t it int|
|00005bf0| 6f 20 66 69 6c 65 6e 61 | 6d 65 0d 69 66 20 66 69 |o filena|me.if fi|
|00005c00| 6c 65 6e 61 6d 65 20 69 | 73 20 6e 6f 74 20 65 6d |lename i|s not em|
|00005c10| 70 74 79 20 74 68 65 6e | 0d 70 75 74 20 65 6d 70 |pty then|.put emp|
|00005c20| 74 79 20 69 6e 74 6f 20 | 63 61 72 64 20 66 69 65 |ty into |card fie|
|00005c30| 6c 64 20 6c 69 73 74 0d | 67 65 74 20 45 78 74 72 |ld list.|get Extr|
|00005c40| 61 63 74 50 61 74 68 4e | 61 6d 65 28 66 69 6c 65 |actPathN|ame(file|
|00005c50| 6e 61 6d 65 29 0d 70 75 | 74 20 69 74 20 69 6e 74 |name).pu|t it int|
|00005c60| 6f 20 64 69 72 6e 61 6d | 65 0d 70 75 74 20 64 69 |o dirnam|e.put di|
|00005c70| 72 6e 61 6d 65 20 69 6e | 74 6f 20 63 61 72 64 20 |rname in|to card |
|00005c80| 66 69 65 6c 64 20 64 69 | 72 65 63 74 6f 72 79 0d |field di|rectory.|
|00005c90| 67 65 74 66 69 6c 65 6c | 69 73 74 20 64 69 72 6e |getfilel|ist dirn|
|00005ca0| 61 6d 65 2c 6c 69 73 74 | 2c 74 79 70 65 31 2c 74 |ame,list|,type1,t|
|00005cb0| 79 70 65 32 2c 74 79 70 | 65 33 0d 70 75 74 20 74 |ype2,typ|e3.put t|
|00005cc0| 68 65 20 72 65 73 75 6c | 74 20 69 6e 74 6f 20 74 |he resul|t into t|
|00005cd0| 68 65 72 65 73 75 6c 74 | 0d 69 66 20 74 68 65 72 |heresult|.if ther|
|00005ce0| 65 73 75 6c 74 20 69 73 | 20 6e 6f 74 20 65 6d 70 |esult is| not emp|
|00005cf0| 74 79 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 74 |ty then.|answer t|
|00005d00| 68 65 72 65 73 75 6c 74 | 0d 65 6e 64 20 69 66 0d |heresult|.end if.|
|00005d10| 65 6e 64 20 69 66 0d 65 | 6c 73 65 0d 69 66 20 6c |end if.e|lse.if l|
|00005d20| 69 6e 65 20 31 20 6f 66 | 20 63 64 20 66 69 65 6c |ine 1 of| cd fiel|
|00005d30| 64 20 68 6f 73 74 6e 61 | 6d 65 20 69 73 20 65 6d |d hostna|me is em|
|00005d40| 70 74 79 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |pty then|.answer |
|00005d50| 22 50 6c 65 61 73 65 20 | 63 6f 6e 6e 65 63 74 20 |"Please |connect |
|00005d60| 74 6f 20 61 20 68 6f 73 | 74 20 66 69 72 73 74 2e |to a hos|t first.|
|00005d70| 22 0d 65 6c 73 65 0d 70 | 75 74 20 6c 69 6e 65 20 |".else.p|ut line |
|00005d80| 31 20 6f 66 20 63 61 72 | 64 20 66 69 65 6c 64 20 |1 of car|d field |
|00005d90| 64 69 72 65 63 74 6f 72 | 79 20 69 6e 74 6f 20 6f |director|y into o|
|00005da0| 6c 64 44 69 72 0d 61 73 | 6b 20 22 74 79 70 65 20 |ldDir.as|k "type |
|00005db0| 69 6e 20 74 68 65 20 64 | 69 72 65 63 74 6f 72 79 |in the d|irectory|
|00005dc0| 20 6e 61 6d 65 22 20 77 | 69 74 68 20 6c 69 6e 65 | name" w|ith line|
|00005dd0| 20 31 20 6f 66 20 63 61 | 72 64 20 66 69 65 6c 64 | 1 of ca|rd field|
|00005de0| 20 64 69 72 65 63 74 6f | 72 79 0d 69 66 20 74 68 | directo|ry.if th|
|00005df0| 65 20 72 65 73 75 6c 74 | 20 69 73 20 6e 6f 74 20 |e result| is not |
|00005e00| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 0d 70 75 |"Cancel"| then.pu|
|00005e10| 74 20 69 74 20 69 6e 74 | 6f 20 6e 65 77 64 69 72 |t it int|o newdir|
|00005e20| 0d 69 66 20 6e 65 77 64 | 69 72 20 69 73 20 6e 6f |.if newd|ir is no|
|00005e30| 74 20 65 6d 70 74 79 20 | 61 6e 64 20 6e 65 77 44 |t empty |and newD|
|00005e40| 69 72 20 ad 20 6f 6c 64 | 44 69 72 20 74 68 65 6e |ir . old|Dir then|
|00005e50| 0d 67 65 74 20 63 68 61 | 6e 67 65 64 69 72 28 6e |.get cha|ngedir(n|
|00005e60| 65 77 64 69 72 29 0d 65 | 6e 64 20 69 66 0d 65 6e |ewdir).e|nd if.en|
|00005e70| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 0d 65 6e 64 |d if.end| if..end|
|00005e80| 20 69 66 0d 0d 65 6e 64 | 20 6d 6f 75 73 65 55 70 | if..end| mouseUp|
|00005e90| 00 00 00 2a 00 0a 02 05 | 00 1f 00 89 00 30 01 cd |...*....|.....0..|
|00005ea0| 00 02 00 00 00 00 00 00 | 00 10 00 0c 00 00 00 10 |........|........|
|00005eb0| 64 69 72 65 63 74 6f 72 | 79 00 00 00 00 2a 00 0b |director|y....*..|
|00005ec0| 02 05 00 07 00 89 00 19 | 01 cd 00 02 00 00 00 00 |........|........|
|00005ed0| 00 00 00 10 00 0c 00 00 | 00 10 68 6f 73 74 6e 61 |........|..hostna|
|00005ee0| 6d 65 00 00 00 00 00 26 | 00 0c 02 05 00 cb 01 27 |me.....&|.......'|
|00005ef0| 00 df 01 ec 00 02 00 00 | 00 00 00 00 00 10 00 0e |........|........|
|00005f00| 01 00 00 12 6e 61 6d 65 | 00 00 00 00 00 28 00 0d |....name|.....(..|
|00005f10| 02 05 01 37 00 25 01 54 | 01 d1 00 00 00 00 00 00 |...7.%.T|........|
|00005f20| 00 01 00 10 00 0c 02 00 | 00 10 73 74 61 74 75 73 |........|..status|
|00005f30| 00 00 00 00 01 ac 00 0e | 01 00 00 89 01 8a 00 9d |........|........|
|00005f40| 01 b9 e0 06 00 00 00 00 | 00 01 00 00 00 0c 00 00 |........|........|
|00005f50| 00 10 46 54 50 00 00 6f | 6e 20 6d 6f 75 73 65 55 |..FTP..o|n mouseU|
|00005f60| 70 0d 69 66 20 68 69 6c | 69 74 65 20 6f 66 20 6d |p.if hil|ite of m|
|00005f70| 65 20 69 73 20 74 72 75 | 65 20 74 68 65 6e 0d 73 |e is tru|e then.s|
|00005f80| 65 74 20 68 69 6c 69 74 | 65 20 6f 66 20 63 64 20 |et hilit|e of cd |
|00005f90| 62 74 6e 20 61 70 70 6c | 65 73 68 61 72 65 20 74 |btn appl|eshare t|
|00005fa0| 6f 20 66 61 6c 73 65 0d | 70 75 74 20 65 6d 70 74 |o false.|put empt|
|00005fb0| 79 20 69 6e 74 6f 20 63 | 61 72 64 20 66 69 65 6c |y into c|ard fiel|
|00005fc0| 64 20 64 69 72 65 63 74 | 6f 72 79 0d 70 75 74 20 |d direct|ory.put |
|00005fd0| 65 6d 70 74 79 20 69 6e | 74 6f 20 63 61 72 64 20 |empty in|to card |
|00005fe0| 66 69 65 6c 64 20 6c 69 | 73 74 0d 70 75 74 20 65 |field li|st.put e|
|00005ff0| 6d 70 74 79 20 69 6e 74 | 6f 20 63 61 72 64 20 66 |mpty int|o card f|
|00006000| 69 65 6c 64 20 68 6f 73 | 74 6e 61 6d 65 0d 70 75 |ield hos|tname.pu|
|00006010| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 63 61 72 |t empty |into car|
|00006020| 64 20 66 69 65 6c 64 20 | 63 61 70 74 69 6f 6e 0d |d field |caption.|
|00006030| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 63 |put empt|y into c|
|00006040| 61 72 64 20 66 69 65 6c | 64 20 6e 61 6d 65 0d 70 |ard fiel|d name.p|
|00006050| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 63 61 |ut empty| into ca|
|00006060| 72 64 20 66 69 65 6c 64 | 20 73 74 61 74 73 0d 65 |rd field| stats.e|
|00006070| 6c 73 65 0d 69 66 20 74 | 68 65 20 73 68 6f 72 74 |lse.if t|he short|
|00006080| 20 6e 61 6d 65 20 6f 66 | 20 63 64 20 62 74 6e 20 | name of| cd btn |
|00006090| 69 64 20 36 20 69 73 20 | 22 44 69 73 63 6f 6e 6e |id 6 is |"Disconn|
|000060a0| 65 63 74 22 20 74 68 65 | 6e 0d 73 65 6e 64 20 6d |ect" the|n.send m|
|000060b0| 6f 75 73 65 55 70 20 74 | 6f 20 63 64 20 62 74 6e |ouseUp t|o cd btn|
|000060c0| 20 69 64 20 36 0d 65 6e | 64 20 69 66 0d 65 6e 64 | id 6.en|d if.end|
|000060d0| 20 69 66 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 00 | if.end |mouseUp.|
|000060e0| 01 ac 00 0f 01 00 00 9e | 01 89 00 b2 01 ec a0 06 |........|........|
|000060f0| 00 00 00 00 00 01 00 00 | 00 0c 00 00 00 10 41 70 |........|......Ap|
|00006100| 70 6c 65 53 68 61 72 65 | 00 00 6f 6e 20 6d 6f 75 |pleShare|..on mou|
|00006110| 73 65 55 70 0d 69 66 20 | 68 69 6c 69 74 65 20 6f |seUp.if |hilite o|
|00006120| 66 20 6d 65 20 69 73 20 | 74 72 75 65 20 74 68 65 |f me is |true the|
|00006130| 6e 0d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |n.if the| short n|
|00006140| 61 6d 65 20 6f 66 20 63 | 64 20 62 74 6e 20 69 64 |ame of c|d btn id|
|00006150| 20 36 20 69 73 20 22 44 | 69 73 63 6f 6e 6e 65 63 | 6 is "D|isconnec|
|00006160| 74 22 20 74 68 65 6e 0d | 73 65 6e 64 20 6d 6f 75 |t" then.|send mou|
|00006170| 73 65 55 70 20 74 6f 20 | 63 64 20 62 74 6e 20 69 |seUp to |cd btn i|
|00006180| 64 20 36 0d 65 6e 64 20 | 69 66 0d 73 65 74 20 68 |d 6.end |if.set h|
|00006190| 69 6c 69 74 65 20 6f 66 | 20 63 64 20 62 75 74 74 |ilite of| cd butt|
|000061a0| 6f 6e 20 66 74 70 20 74 | 6f 20 66 61 6c 73 65 0d |on ftp t|o false.|
|000061b0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|000061c0| 63 61 72 64 20 66 69 65 | 6c 64 20 64 69 72 65 63 |card fie|ld direc|
|000061d0| 74 6f 72 79 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |tory.put| empty i|
|000061e0| 6e 74 6f 20 63 61 72 64 | 20 66 69 65 6c 64 20 6c |nto card| field l|
|000061f0| 69 73 74 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |ist.put |empty in|
|00006200| 74 6f 20 63 61 72 64 20 | 66 69 65 6c 64 20 68 6f |to card |field ho|
|00006210| 73 74 6e 61 6d 65 0d 70 | 75 74 20 65 6d 70 74 79 |stname.p|ut empty|
|00006220| 20 69 6e 74 6f 20 63 61 | 72 64 20 66 69 65 6c 64 | into ca|rd field|
|00006230| 20 63 61 70 74 69 6f 6e | 0d 70 75 74 20 65 6d 70 | caption|.put emp|
|00006240| 74 79 20 69 6e 74 6f 20 | 63 61 72 64 20 66 69 65 |ty into |card fie|
|00006250| 6c 64 20 6e 61 6d 65 0d | 70 75 74 20 65 6d 70 74 |ld name.|put empt|
|00006260| 79 20 69 6e 74 6f 20 63 | 61 72 64 20 66 69 65 6c |y into c|ard fiel|
|00006270| 64 20 73 74 61 74 73 0d | 65 6e 64 20 69 66 0d 65 |d stats.|end if.e|
|00006280| 6e 64 20 6d 6f 75 73 65 | 55 70 00 00 00 22 00 10 |nd mouse|Up..."..|
|00006290| 02 04 00 cb 00 dc 00 df | 01 26 00 02 00 00 00 00 |........|.&......|
|000062a0| 00 00 00 10 00 0e 02 00 | 00 12 00 00 00 00 00 54 |........|.......T|
|000062b0| 00 11 01 00 00 1e 00 6d | 00 35 00 83 20 00 00 00 |.......m|.5.. ...|
|000062c0| 71 5b 00 01 00 00 00 0c | 00 00 00 10 4e 65 77 20 |q[......|....New |
|000062d0| 42 75 74 74 6f 6e 00 00 | 6f 6e 20 6d 6f 75 73 65 |Button..|on mouse|
|000062e0| 55 70 0d 67 65 74 20 63 | 68 61 6e 67 65 64 69 72 |Up.get c|hangedir|
|000062f0| 55 70 28 29 0d 65 6e 64 | 20 6d 6f 75 73 65 55 70 |Up().end| mouseUp|
|00006300| 00 00 00 60 00 13 01 00 | 00 04 01 d5 00 1b 01 f1 |...`....|........|
|00006310| 20 00 00 00 09 ae 00 01 | 00 00 00 0c 00 00 00 10 | .......|........|
|00006320| 4e 65 77 20 42 75 74 74 | 6f 6e 00 00 6f 6e 20 6d |New Butt|on..on m|
|00006330| 6f 75 73 65 55 70 0d 41 | 6c 6c 43 6c 69 70 0d 73 |ouseUp.A|llClip.s|
|00006340| 68 6f 77 20 63 61 72 64 | 20 66 69 65 6c 64 20 72 |how card| field r|
|00006350| 65 61 64 6d 65 0d 65 6e | 64 20 6d 6f 75 73 65 55 |eadme.en|d mouseU|
|00006360| 70 00 00 46 00 14 02 05 | 00 02 00 02 01 34 01 ff |p..F....|.....4..|
|00006370| 00 07 00 00 00 00 00 00 | 00 10 00 0c 02 00 00 10 |........|........|
|00006380| 72 65 61 64 6d 65 00 00 | 6f 6e 20 6d 6f 75 73 65 |readme..|on mouse|
|00006390| 55 70 0d 68 69 64 65 20 | 6d 65 0d 65 6e 64 20 6d |Up.hide |me.end m|
|000063a0| 6f 75 73 65 55 70 00 00 | 00 6a 00 16 01 00 01 35 |ouseUp..|.j.....5|
|000063b0| 01 d8 01 56 01 fb 20 01 | 00 00 00 0d 00 01 00 00 |...V.. .|........|
|000063c0| 00 0c 00 00 00 10 4e 65 | 77 20 42 75 74 74 6f 6e |......Ne|w Button|
|000063d0| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 67 6f 20 |..on mou|seUp.go |
|000063e0| 74 6f 20 63 61 72 64 20 | 69 64 20 32 38 33 38 20 |to card |id 2838 |
|000063f0| 6f 66 20 73 74 61 63 6b | 20 22 4d 61 6b 65 4a 46 |of stack| "MakeJF|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.